firebase-authentication-dotnet icon indicating copy to clipboard operation
firebase-authentication-dotnet copied to clipboard

I can't get FetchSignInMethodsForEmailAsync to work

Open koddek opened this issue 2 years ago • 2 comments

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)

koddek avatar Nov 05 '23 04:11 koddek

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

bezysoftware avatar Jan 12 '24 11:01 bezysoftware

@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.

koddek avatar Jan 12 '24 12:01 koddek