Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
619 views
in Technique[技术] by (71.8m points)

c# - Check if the email already exists in Firebase Auth unity

I want to check if the email already exists in firebase authentication before the user clicks on sign up button if there is a way.

I tried to write one with the login firebase method but it doesn't work correctly because I need the password to check.

if there is a method to check only the mail.

I am so thankful to hear your answers.

question from:https://stackoverflow.com/questions/66055407/check-if-the-email-already-exists-in-firebase-auth-unity

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You're looking for the FetchProvidersForEmailAsync method, which returns a list of providers for the given email address.

It returns a list of providers, instead of just true/false, so that you can show a UI for each of the providers that the user can use to sign in to their account.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...