FirebaseAdmin.Auth.Providers.OidcProviderConfig

Represents an OIDC auth provider configuration.

Summary

See OpenID Connect.

Inheritance

Inherits from: FirebaseAdmin.Auth.Providers.AuthProviderConfig

Properties

ClientId
string
Gets the client ID used to confirm the audience of an OIDC provider's ID token.
ClientSecret
string
Gets the client secret, which is used to verify Code response types.
CodeResponseType
bool
Gets a value indicating whether an Code type response type will be provided.
IdTokenResponseType
bool
Gets a value indicating whether an ID Token response type will be provided.
Issuer
string
Gets the issuer used to match the issuer of the ID token and to determine the corresponding OIDC discovery document, eg.

Properties

ClientId

string ClientId

Gets the client ID used to confirm the audience of an OIDC provider's ID token.

ClientSecret

string ClientSecret

Gets the client secret, which is used to verify Code response types.

CodeResponseType

bool CodeResponseType

Gets a value indicating whether an Code type response type will be provided.

IdTokenResponseType

bool IdTokenResponseType

Gets a value indicating whether an ID Token response type will be provided.

Issuer

string Issuer

Gets the issuer used to match the issuer of the ID token and to determine the corresponding OIDC discovery document, eg.

/.well-known/openid-configuration. This is needed for the following:

  • To verify the provided issuer.
  • To determine the authentication/authorization endpoint during the OAuth id_token authentication flow.
  • To retrieve the public signing keys from jwks_uri, which is used to verify the signature of the ID token.
  • To determine the claims_supported, which are passed through in the additional user info response.

ID token validation is performed as defined in OpenID Connect.