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 #443

Closed
4gus71n opened this issue Oct 31, 2018 · 3 comments
Closed

Unable to perform cloud discovery #443

4gus71n opened this issue Oct 31, 2018 · 3 comments

Comments

@4gus71n
Copy link

4gus71n commented Oct 31, 2018

I just moved from com.microsoft.identity.client:msal:0.1.0 to com.microsoft.identity.client:msal:0.2.1 with the old version the authentication was working fairly well. However now I got an:

Authentication failed: com.microsoft.identity.client.exception.MsalClientException: Unable to perform cloud discovery

When I try to authenticate, I did some googling about this, and apparently I need to configure something on the server, thing is, that in the environment where I'm working that's not possible.

My question is; There's some property that I can set so it works the same way as before?

@shoatman
Copy link
Contributor

shoatman commented Oct 31, 2018

@4gus71n - You would see this error if the client was unable to connect to a specific server side endpoint. It shouldn't happen unless the client was unable to reach that endpoint.

This one:

https://login.microsoftonline.com/common/discovery/instance?authorization_endpoint=https://login.microsoftonline.com/common/oauth2/v2.0/authorize&api-version=1.1

@4gus71n
Copy link
Author

4gus71n commented Nov 2, 2018

Thank you very much for taking the time to reply @shoatman

The puzzle puzzled itself out basically. I would like to say that I actually changed something, but from one moment to another, just started working.

Again, thanks for your time.

@iambmelt
Copy link
Member

iambmelt commented Nov 2, 2018

Thanks for the update @4gus71n - any further issues, please file or reopen this issue :)

@iambmelt iambmelt closed this as completed Nov 2, 2018
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

3 participants