← API reference
CANONICAL TYPE REFERENCE

StorageBackendAuthorizationOutput

The start of an OAuth consent flow: where to send the user, and the draft backend the callback will complete.

The provider's consent-screen URL the client must send the user to. Carries a signed, short-lived state token binding the flow to this tenant, provider and draft backend; visiting it is what grants the tokens.

TypeID (sbk_ prefix) of the draft backend row created up front for this flow. It stays NEEDS_REAUTHORIZATION until the OAuth callback completes it; if the user abandons consent, this id is what you delete.

View exact SDL
"""
The start of an OAuth consent flow: where to send the user, and the draft backend the callback will complete.
"""
type StorageBackendAuthorizationOutput {
  """
  The provider's consent-screen URL the client must send the user to. Carries a signed, short-lived state token binding the flow to this tenant, provider and draft backend; visiting it is what grants the tokens.
  """
  authorizationUrl: String!
  """
  TypeID (`sbk_` prefix) of the draft backend row created up front for this flow. It stays NEEDS_REAUTHORIZATION until the OAuth callback completes it; if the user abandons consent, this id is what you delete.
  """
  pendingBackendId: StorageBackendID!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.