Complete an OAuth connection
GET/api/v1/oauth-connections/callback
The provider's redirect target. Not IAM-gated: the single-use state is the credential. Exchanges code for tokens and connects the connection; redirects to its return_url when one was given, else answers the connection. A front end that receives the provider's redirect itself forwards code and state here.
Request
Responses
- 200
- 302
- 400
- 429
- 500
The connected connection
Redirect to the connection's return_url
Invalid request — a query parameter or body field the operation does not declare, or a value that fails validation
QUOTA_EXCEEDED — a requests quota on the calling API key or its project is spent for the window; Retry-After says when it reopens
Response Headers
Retry-After
Seconds until the quota window admits a request again
Unexpected server error — INTERNAL_ERROR, with the raw message never forwarded