Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to perform cloud discovery error from MSAL library of Android #676

Closed
uneeshkrishnan opened this issue Jul 4, 2019 · 5 comments
Closed

Comments

@uneeshkrishnan
Copy link

Dear Team,

One of our android app is using MSAL library (com.microsoft.identity.client:msal:0.2.+) to validate the user with Microsoft AD.
By following the given documentation, we are able to validate the user and the user can successfully login to the system.
For testing purpose, we created a proxy server using Burp Suite and applied the proxy server details to the emulator.
With this proxy settings the user cannot login to the system, the library returning an error "Unable to perform cloud discovery".
If we disable the proxy its working fine.

Please help us on the same

@shoatman
Copy link
Contributor

The library makes a request to a public endpoint on login.microsoftonline.com in order to pull down a list of known authorities (including their aliases and some metadata regarding which authority alias to cache with). I'm guessing that the proxy is somehow blocking this request.

@uneeshkrishnan
Copy link
Author

Thanks for your reply. Actually this issue was related to the Android OS security terms.
Android application with API level > 21 have some more security terms. So i think this makes the issue for me. When I tried with lower version of Android, It start to work.

@iambmelt
Copy link
Member

iambmelt commented Aug 5, 2019

Customer issue was resolved. Unclear what assertion is made regarding API 21 but we can reopen if another issue presents itself

@iambmelt iambmelt closed this as completed Aug 5, 2019
@Keepertje
Copy link

I have this issue too #1090

@whiteLT
Copy link

whiteLT commented Nov 10, 2022

@uneeshkrishnan Hi, did you managed to find a solution for API > 21 devices. I have the same issue. Old devices work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants