v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
connectors

Handle OAuth callback

Spaces method and path for this operation:

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/actions/connector/_oauth_callback</span></div>

Refer to Spaces for more information.

Handles the OAuth 2.0 authorization code callback from external providers. Exchanges the authorization code for access and refresh tokens.<br/><br/>[Required authorization] Route required privileges: actions:oauth.

get/api/actions/connector/_oauth_callback

Query parameters

codestring

The authorization code returned by the OAuth provider.

statestring

The state parameter for CSRF protection.

errorstring

Error code if the authorization failed.

error_descriptionstring

Human-readable error description.

session_statestring

Session state from the OAuth provider (e.g., Microsoft).

Response

Returns an HTML callback page.