# Get connector's authorization URI **POST /api/connectors/{connectorId}/authorization-uri** Get authorization URI for specified connector by providing redirect URI and randomly generated state. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - OAuth2 ## Parameters ### Path parameters - **connectorId** (string) The unique identifier of the connector. ### Body: application/json (object) - **state** (string) A random string generated on the client side to prevent CSRF (Cross-Site Request Forgery) attacks. - **redirectUri** (string) The URI to navigate back to after the user is authenticated by the connected social identity provider and has granted access to the connector. ## Responses ### 200 Successfully built authorization URI. #### Body: application/json (object) - **redirectTo** (string(url)) - **redirectUri** () The URI to navigate for authentication and authorization in the connected social identity provider. ### 400 Unable to build authorization URI. ### 401 Unauthorized ### 403 Forbidden ### 404 The connector with the specified ID does not exist. [Powered by Bump.sh](https://bump.sh)