A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
I personally worked on a Xamarin/.NET MAUI project couple of years ago. For me, I couldn't get the WebAuthenticator class to work for me either.
What did work though was using MSAL.NET library and the PublicClientApplication class. You can follow Migrate Xamarin apps using brokers to MSAL.NET - Microsoft identity platform | Microsoft Learn on switching. As for acquiring tokens, I did what's in the Acquiring tokens interactively - Microsoft Authentication Library for .NET | Microsoft Learn guide.
I did want to the WebAuthenticator to work due to its simplicity but going the MSAL.net route was more successful.