Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Auth not showing in the firebase #74

Open
Frank-Dev18 opened this issue Dec 3, 2020 · 1 comment
Open

Google Auth not showing in the firebase #74

Frank-Dev18 opened this issue Dec 3, 2020 · 1 comment

Comments

@Frank-Dev18
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants