Given MAUI is now released any guidance on this now?
How to make Google and Facebook auth in .net maui ?
I'm making a .net maui app. I found it really good, now i want to make google and Facebook authentication in the app.
I even tried to make a class library to support that. But i still don't know how to make it work.
Can someone help me implement Google And Facebook auth in maui ?
Or even help how to make class library that can support that ?
2 answers
Sort by: Most helpful
-
-
Damian 0 Reputation points
2023-05-01T15:41:51.2133333+00:00 Thankfully, Web Authenticator is a part of MAUI Essentials and the team has provided some good documentation. This allows users to use their existing Microsoft, Facebook, Google, or Apple accounts.
Here is some sample code for the View and ViewModel code from the Essentials GitHub page. Just be sure to include
<UsingMauiEssentials>true</UsingMauiEssentials>
into your app's.csproj
file when using Essentials.One caveat, there is an outstanding bug on the Windows platform (GitHub: MAUI #2702, WindowsAppSDK #441)