I have a Xamarin.Forms iOS/Android app and have to authenticate the user against a Microsoft Azure B2C AD.
I have added the Microsoft.Identity.Client NuGet and using this for authentication.
It works fine on iOS but on Android the same code never returns from the AcquireTokenAsync().
The login UI is shown as it should and the username and password accepted and the UI presented by the MSAL library dismisses as it should but the call to await AcquireTokenAsync()
never returns.
The code is in a PCL in the core project of the app.
I have tried on Android 4, 5 and 6 devices.
I know MSAL is still in alpha I just would like to have confirmation if this due to that or I might be doing something wrong.