MAUI sample on Android crashes on login
Getting the following error when trying to login with MAUI sample running on Android:
System.InvalidOperationException: 'You must subclass the WebAuthenticatorCallbackActivity and create an IntentFilter for it which matches your callbackUrl.'

It seems like something is still missing? That activity is implemented in Xamarin.Forms sample and it works, but here is missing, I believe on purpose? Has someone been able to login successfully on Android?
Thanks in advance.
You need to create a IntentFilter that responds to the callback url you define, which is specific per platform.
Check the Get Started on the Microsoft docs for Web Authenticator here: https://docs.microsoft.com/en-us/xamarin/essentials/web-authenticator
For MAUI, the instructions work for Android and iOS, but on UWP it's not working since it's still not yet supported: https://github.com/microsoft/WindowsAppSDK/issues/441
I do not test against Android. Feel free to submit a PR if you have a solution.
In fact according to https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/communication/authentication?view=net-maui-6.0 the sample is not completed and with Windows will not work for a known issue