Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

OAuth Consent, Scopes, and Administrator Approval

OAuth connects a provider account through the provider’s sign-in and consent screens. Some organizations require an administrator to approve the requested access.

Before you begin

A provider account and any required administrator consent.

OAuth concepts

Term
Definition

OAuth

An authorization flow in which the provider grants an application access after sign-in and consent. Access is limited by the approved scopes and the provider account’s permissions.

Scope

A permission category requested by an application or assigned to a key. A scope permits an operation class; resource-level restrictions can still apply.

Administrator consent

Provider approval required from an administrator for certain application permissions. A user’s successful sign-in may not satisfy this requirement.

Access token

A credential used to authorize requests for its valid lifetime. Expiration or revocation can prevent an otherwise valid operation.

Connection

A saved authorization to a particular provider account. An action uses the selected account’s access, subject to StackAI sharing controls.

Authorize an OAuth connection

  1. Choose the provider’s OAuth connector in Connections.

Review the scopes requested by the connector before authorizing the provider account.

Review the scopes requested by the connector before authorizing the provider account.

  1. Sign in to the intended provider account and review the requested permissions.

  2. Complete consent and return to StackAI. Select the saved connection in the operation that needs it.

The connection appears in StackAI and can access the resources allowed by the provider.

Behavior and limitations

A successful sign-in does not mean administrator consent was granted. If the provider blocks the request, ask its administrator to review the application and scopes. Reconnecting with the wrong account can change which files or records are available. Follow the provider’s integration page for its exact consent steps.

Custom OAuth scopes and reauthorization

Connection Ownership, Sharing, and Permissions

Was this helpful?