projects

Finalizes the credentials after a successful consent flow.

post/v1/{+authProvider}/credentials:finalize

Request

  • Base URL: https://agentidentitycredentials.googleapis.com
  • URL: https://agentidentitycredentials.googleapis.com/v1/{+authProvider}/credentials:finalize
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

authProviderstring required

Required. The resource name of the auth provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

Request body

consentNoncestring

Required. The same consent_nonce value that was provided during retrieval in the UriConsentRequired metadata.

userIdstring

Required. The identity of the end user.

userIdValidationStatestring byte

Required. The encrypted state passed back from the consent flow.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.