I am using Xamarin.Android: 12.0.0.3 for mobile app and backend side .net core 2.1 and Azure Active Directory I have registered a new app for the mobile app I have to add :
- Client id
- Tenant id
- and Redirect URI same client configurations I set up in .net core 2.1 and Xamarin.Android: 12.0.0.3
When I am trying to log in with mobile on Stack Overflow, I only get a blank screen. No error or anything.
The exact process:
- Click login with azure ad
- Redirect to Microsoft login
- After entering id and password login success but Blank screen
I have tried clearing the cache and disabling all extensions, but that had no effect.
Below mentioned is the MSAL configuration for Android platform :
com.XXX.XXXandroid:host="com.XXX.XXX"
{
"client_id": "80d5e150-xxxx-xxxx-xxxx-91e02321fdfa",
"authorization_user_agent": "DEFAULT",
"redirect_uri": "msauth://com.XXX.XXX/xxxxxxxrSw0yVb%2FvlWAYkK%2Fxxxx%3D",
"authorities": [
{
"type": "AAD",
"audience": {
"type": "AzureADMyOrg",
"tenant_id": "eab845cd-xxxx-xxxx-xxxx-edb4c387d231"
}
}
]
}
Has anyone else encountered this issue?
Click [here]( https://learn.microsoft.com/en-us/azure/active-directory-b2c/enable-authentication-android-app?tabs=kotlin"this text appears when you mouse over")!