step-up-labs / firebase-authentication-dotnet

C# library for Firebase Authentication
MIT License
375 stars 128 forks source link

Need Help with login with Google in .NET MAUI #201

Open koddek opened 1 year ago

koddek commented 1 year ago

I am working on a .net MAUI Blazor app and I want to sign in with Google. However, the method I used before seems to be outdated and Google recommends a different way. Does anyone know how to do this in .net MAUI? Is there a library that simplifies the process? I just need to get the access token from Google and then I can proceed.

I tried to use the "SignInWithRedirectAsync" method from this library, but it gives me an error in .net MAUI. Google suggests using "SignInWithPopup" instead, but this library does not have it. So I need to find another way to sign in to Google and get the access token. Then I can use the "SignInWithCredentialAsync" method from this library.

bezysoftware commented 1 year ago

You'll need to share the exception you get and the place where it's coming from to be get any help, without it it would be guessing