We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a11363f commit e45070aCopy full SHA for e45070a
docs/auth/social-auth.md
@@ -325,7 +325,7 @@ async function onGoogleButtonPress() {
325
}
326
327
// Create a Google credential with the token
328
- const googleCredential = auth.GoogleAuthProvider.credential(signInResult.data.token);
+ const googleCredential = auth.GoogleAuthProvider.credential(signInResult.data.idToken);
329
330
// Sign-in the user with the credential
331
return auth().signInWithCredential(googleCredential);
0 commit comments