The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/auth > OAuthCredentialOptions

OAuthCredentialOptions interface

Defines the options for initializing an OAuthCredential.

Signature:

export interface OAuthCredentialOptions 

Description

For ID tokens with nonce claim, the raw nonce has to also be provided.

Properties

Property Type Description
accessToken? string (Optional) The OAuth access token used to initialize the OAuthCredential.
idToken? string (Optional) The OAuth ID token used to initialize the OAuthCredential.
rawNonce? string (Optional) The raw nonce associated with the ID token.