From 12a40cd60f43aa0d8d4846ec7d6a5923668d60fa Mon Sep 17 00:00:00 2001 From: Gazihan Alankus Date: Sat, 2 May 2020 10:25:22 +0300 Subject: [PATCH] docs(auth): fixed google sign-in with correct webClientId (#3544) [skip-ci] --- docs/auth/social-auth.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/auth/social-auth.md b/docs/auth/social-auth.md index 7dfb87c6..44f31a71 100644 --- a/docs/auth/social-auth.md +++ b/docs/auth/social-auth.md @@ -212,13 +212,13 @@ documentation. Ensure the "Google" sign-in provider is enabled on the [Firebase Console](https://console.firebase.google.com/project/_/authentication/providers). Before triggering a sign-in request, you must initialize the Google SDK using your any required scopes and the -`webClientId`, which can be found on the Firebase Console Settings, as "Web API Key". +`webClientId`, which can be found in the `android/app/google-services.json` file as the `client/oauth_client/client_id` property (the id ends with `.apps.googleusercontent.com`). ```js import { GoogleSignin } from '@react-native-community/google-signin'; GoogleSignin.configure({ - webClientId: '', // From Firebase Console Settings + webClientId: '', }); ```