createStorageBackendAuthorization
Topics: Files
Start the OAuth consent flow for a Google Drive or Dropbox backend. Persists a draft backend (status NEEDS_REAUTHORIZATION) and returns the provider consent URL to send the user to; the callback completes the draft. Requires storageBackend:write permission.
Returns
CreateStorageBackendAuthorizationPayload!Arguments
Which OAuth provider to connect, and the name/description for the backend the flow will produce.
Exact field SDL
"""
Start the OAuth consent flow for a Google Drive or Dropbox backend. Persists a draft backend (status NEEDS_REAUTHORIZATION) and returns the provider consent URL to send the user to; the callback completes the draft. Requires storageBackend:write permission.
"""
createStorageBackendAuthorization(
"""
Which OAuth provider to connect, and the name/description for the backend the flow will produce.
"""
input: CreateStorageBackendAuthorizationInput!
): CreateStorageBackendAuthorizationPayload! @topic(names: ["files"])Declared on Mutation. Access is checked by the platform for each operation.