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
curl \
-X POST https://[tenant_id].logto.app/api/connectors/{connectorId}/authorization-uri \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"state":"string","redirectUri":"string"}'
Request examples
{
"state": "string",
"redirectUri": "string"
}
Response examples (200)
{
"redirectTo": "string"
}