- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Starts OAuth flow for an account connector.
HTTP request
GET https://developerconnect.googleapis.com/v1/{accountConnector=projects/*/locations/*/accountConnectors/*}/users:startOAuthFlow
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
accountConnector |
Required. The resource name of the AccountConnector in the format |
Request body
The request body must be empty.
Response body
Message for responding to starting an OAuth flow.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "ticket": string, "codeChallenge": string, "codeChallengeMethod": string, "clientId": string, "scopes": [ string ], "authUri": string, // Union field |
| Fields | |
|---|---|
ticket |
The ticket to be used for post processing the callback from the service provider. |
codeChallenge |
Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.1 |
codeChallengeMethod |
Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.2 |
clientId |
The client ID to the OAuth App of the service provider. |
scopes[] |
The list of scopes requested by the application. |
authUri |
The authorization server URL to the OAuth flow of the service provider. |
Union field id. The ID of the service provider. id can be only one of the following: |
|
systemProviderId |
The ID of the system provider. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the accountConnector resource:
developerconnect.users.startOAuth
For more information, see the IAM documentation.