Exchange an OAuth authorization code for an access token
id_token is included in the response when the openid scope is granted, and the refresh_token is included when the offline_access scope is granted.
invalid_request: The request is missing a required parameter or is otherwise malformedinvalid_client: Client authentication failedinvalid_grant: The authorization code is invalid or has expiredunauthorized_client: The client is not authorized to use this grant typeserver_error: An unexpected error occurred on the serverAPI key for authentication
The authorization code received from the OAuth provider
The public key (client ID) for the OAuth application
The secret key (client secret) for the OAuth application
The redirect URL used in the initial authorization request
Default Response
JWT access token signed with the project's JWKS
Type of token issued
bearer Token expiration time in seconds (defaults to 3600 seconds/1 hour)
JWT ID token returned when openid scope is granted
Refresh token returned when offline_access scope is granted