Handle OAuth callback

Server: https://{kibana_url}
  • GET /api/actions/connector/_oauth_callback
  • GET /s/{space_id}/api/actions/connector/_oauth_callback

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.

[Required authorization] Route required privileges: actions:oauth.

Responses

200

Returns an HTML callback page.

302

Redirects to the return URL with authorization result query parameters.

401

User is not authenticated.