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

I can't get FetchSignInMethodsForEmailAsync to work #209

Open
koddek opened this issue Nov 5, 2023 · 2 comments
Open

I can't get FetchSignInMethodsForEmailAsync to work #209

koddek opened this issue Nov 5, 2023 · 2 comments
Labels

Comments

@koddek
Copy link

koddek commented Nov 5, 2023

This does not work for me. It only returns the email I provided it. I am using Email/Password Provider type. Does it work for anyone?
FetchUserProvidersResult result = await client.FetchSignInMethodsForEmailAsync(email)

@bezysoftware
Copy link
Collaborator

What are you expecting to receive?

Also I believe this API to be deprecated, so you should stop using it anyway. See https://twitter.com/Firebase/status/1745493276222734784

@koddek
Copy link
Author

koddek commented Jan 12, 2024

@bezysoftware
My goal was to verify the existence of the email that was passed in as an argument. I assumed that the function would return null or something similar if the email was not found. However, in my tests, the function always returns the same email that was passed in, regardless of its existence.

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

No branches or pull requests

2 participants