step-up-labs / firebase-authentication-dotnet

C# library for Firebase Authentication
MIT License
376 stars 129 forks source link

I can't get FetchSignInMethodsForEmailAsync to work #209

Open koddek opened 10 months ago

koddek commented 10 months ago

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 commented 8 months ago

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 commented 8 months ago

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