microsoft-authentication-library-for-android
microsoft-authentication-library-for-android copied to clipboard
Provided authority is not known. MSAL will only make requests to known authorities.
Describe the bug On MSAL Android library version above 5.0.1 (Android Gradle Plugin v8.0.0 and above), we are getting below error while calling acquireToken(): "Provided authority is not known. MSAL will only make requests to known authorities."
But on v5.0.1, authentication is working fine (Android Gradle Plugin v7.5.1).
{ "client_id": "xyz", "authorization_user_agent": "WEBVIEW", "redirect_uri": "<REDIRECT URL>", "account_mode": "MULTIPLE", "broker_redirect_uri_registered": false, "authorities": [ { "type": "B2C", "authority_url": "<AUTHORITY URL>", "default": true } ] }
Smartphone (please complete the following information):
- Device: [Sonim XP10]
- Android Version: [12]
- MSAL Version: above 5.0.1
To Reproduce Update the MSAL library version from 5.0.1 to 5.1.0 (and above).
Are there any specific procedures or steps to follow to use the latest version of MSAL library v5.7.0 ?