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

Custom OAuth scopes and reauthorization

OAuth scopes define the permissions that an account grants to an application. Use custom scopes to request the access required by your selected actions.

Before you start

Have permission to edit the custom connector and know which action requires a new permission. Identify affected account connections using Provider connector configuration. Ask the connector administrator to make the change if you cannot open its Configuration.

Review and select scopes

Open the custom connector's Configuration and inspect its OAuth scopes.

OAuth scope compatibility settings

These scopes define the provider permissions the connector requests during authorization.

Select the required scope and review action compatibility.

OAuth scope compatibility settings

An action that sends or changes data may require permissions beyond a read-only scope.

Save the scope configuration

Save the selected scopes.

Saved OAuth scope configuration

Actions that require other scopes may remain unavailable.

Reauthorize affected accounts

Reconnect the affected account so its authorization reflects the required scopes.

Provider account reauthorization flow

Review the provider's consent screen to confirm the actual requested access.

Return to Connections and check the refreshed account's health.

Provider account reauthorization flow

Then verify the operation for which the scope change was made.

Check the required operation

Run the action that needs the updated permission.

Action execution after reauthorization

Inspect the response or error to check whether the provider granted the required access.

Request additional scopes when needed

Add a broader scope only when an intended operation requires it.

Additional OAuth scope selection

Reconnect affected accounts after changes that require new provider consent.

Important behavior

OAuth scopes specify the access requested from the provider. Enabling an action in StackAI cannot substitute for a missing provider permission.

Continue

Last updated

Was this helpful?