connectors
Handle OAuth callback
Spaces method and path for this operation:
<div><span class="operation-verb get">get</span> <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
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/actions/connector/_oauth_callback
- Auth
- API key in header Authorization
- or HTTP basic
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.
Changes
No operation changes recorded.