CrossGeeks / GoogleClientPlugin

Google Client Plugin for Xamarin iOS and Android
https://www.pujolsluis.com/google-client-plugin-for-xamarin/
MIT License
89 stars 37 forks source link

Google Auth not showing in the firebase #74

Open Frank-Dev18 opened 3 years ago

Frank-Dev18 commented 3 years ago

I have a question, how can I make the users who log in with my app appear in my firestore, in the authorization section since this is necessary at the time of being able to keep a user registry. Thank you very much for reading me, good night

huynhger commented 3 years ago

Hi Frank, I'm late but hope this helps some one To add user to firebase, u need to use FirebaseAuthfrom Xamarin.Firebase.Auth. Create var credential = GoogleAuthProvider.GetCredential(idToken, accessToken); then use credential infirebaseAuth.SignInWithCredential(credentials) :)