Skip to content

[firebase-auth] How to obtain appleCredentialIdentityToken and rawNonce parameters not clear #33

@msn444

Description

@msn444

The example code for Sign In With Apple functionality is as follows:

import { firebase } from '@nativescript/firebase-core';
import { OAuthProvider } from '@nativescript/firebase-auth';
const oauthCredential = new OAuthProvider('apple.com');
oauthCredential.credential(appleCredentialIdentityToken /* idToken */, rawNonce /* nonce */);

firebase().auth().signInWithCredential(oauthCredential);

Where is the appleCredentialIdentityToken and rawNonce obtained?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions