AuthenticationResponse

  • The authentication server response contains an authorization code, error details (if any), and a redirect URI.

  • The authorization code is used by the client to obtain an access token.

  • If an error occurs during authentication, the response includes an error code and a human-readable description.

A response from the authentication server once the user signs-in.

JSON representation
{
  "code": string,
  "errorDetails": {
    object (ErrorDetails)
  },
  "redirectUri": string
}
Fields
code

string

The authorization code that the client exchanges for an access token.

errorDetails

object (ErrorDetails)

The error details from the authentication server.

redirectUri

string

Redirect URI.

ErrorDetails

The message containing error details.

JSON representation
{
  "error": enum (Error),
  "errorDescription": string
}
Fields
error

enum (Error)

An error which the server adds to the redirect URL.

errorDescription

string

A human-readable description of the error.