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 > rawNonce

OAuthCredentialOptions.rawNonce property

The raw nonce associated with the ID token.

Signature:

rawNonce?: string;

Description

It is required when an ID token with a nonce field is provided. The SHA-256 hash of the raw nonce must match the nonce field in the ID token.