Connectors

Get connector's authorization URI

Get authorization URI for specified connector by providing redirect URI and randomly generated state.

post/api/connectors/{connectorId}/authorization-uri

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/connectors/{connectorId}/authorization-uri
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

connectorIdstring required

The unique identifier of the connector.

Request body

statestring required

A random string generated on the client side to prevent CSRF (Cross-Site Request Forgery) attacks.

redirectUristring required

The URI to navigate back to after the user is authenticated by the connected social identity provider and has granted access to the connector.

Response

Successfully built authorization URI.

redirectTostring url required
redirectUriunknown

Changes

No recorded changes to this operation across all 8 revisions of this API.