Start OAuth authorization (redirects to the identity provider)

GET /api/actions/connector/{connectorId}/oauth/start

Spaces method and path for this operation:

get /s/{space_id}/api/actions/connector/{connectorId}/oauth/start

Refer to Spaces for more information.

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

Path parameters

  • connectorId string Required

    An identifier for the connector.

    Maximum length is 36.

Responses

  • 302

    Redirects to the identity provider to begin OAuth authorization.

  • 400

    Invalid request, such as a disallowed returnUrl.

  • 401

    User is not authenticated.

  • 404

    Connector not found.

GET /api/actions/connector/{connectorId}/oauth/start
curl \
 --request GET 'https://localhost:5601/api/actions/connector/{connectorId}/oauth/start' \
 --header "Authorization: $API_KEY"