AdminsLoginOAuth2
getOauth2AuthorizationUrlForLogin
Return the provider authorization URL used to start an OAuth2 login or account-linking flow. When forward is provided, the provider redirects back to that callback URL after authorization.
Path Parameters
provider*string
Oauth2 provider name
Query Parameters
forward?string
Callback URL used after completing the OAuth login flow
Response Body
curl -X GET "https://example.com/api/v1/login/oauth/google"{ "authorization_url": "https://accounts.google.com/o/oauth2/v2/auth?.....", "client_id": "173131512-mpbnju32.apps.googleusercontent.com"}