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

Authentication error in MSAL. #2350

Closed
Kit-Law-42 opened this issue Jul 21, 2021 · 4 comments · Fixed by #2506
Closed

Authentication error in MSAL. #2350

Kit-Law-42 opened this issue Jul 21, 2021 · 4 comments · Fixed by #2506
Assignees

Comments

@Kit-Law-42
Copy link

Kit-Law-42 commented Jul 21, 2021

Describe the bug
After upgrading to 2.10.0, an error message is shown when logging into the Azure AD directory.
Nothing can be done except closing BatchExplorer.exe manually.

To Reproduce
Upgrade from 2.8.0 to 2.10.0, and open BatchExplorer.exe.

Expected behavior
Batch Explorer should be able to open and prompt my login info to login Azure AD directory.

Screenshots
image
image

Logs

{"errorCode":"endpoints_resolution_error","errorMessage":"Error: could not resolve endpoints. Please check network and try again. Detail: ClientConfigurationError: untrusted_authority: The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.","subError":"","name":"ClientAuthError","level":"error","message":"Error while login endpoints_resolution_error: Error: could not resolve endpoints. Please check network and try again. Detail: ClientConfigurationError: untrusted_authority: The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.","stack":"ClientAuthError: endpoints_resolution_error: Error: could not resolve endpoints. Please check network and try again. Detail: ClientConfigurationError: untrusted_authority: The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.\n at ClientAuthError.AuthError [as constructor] (C:\Program Files\BatchExplorer\resources\app.asar\node_modules\@Azure\msal-common\dist\index.js:398:24)\n at new ClientAuthError (C:\Program Files\BatchExplorer\resources\app.asar\node_modules\@Azure\msal-common\dist\index.js:638:28)\n at Function.ClientAuthError.createEndpointDiscoveryIncompleteError (C:\Program Files\BatchExplorer\resources\app.asar\node_modules\@Azure\msal-common\dist\index.js:675:16)\n at Function. (C:\Program Files\BatchExplorer\resources\app.asar\node_modules\@Azure\msal-common\dist\index.js:6166:47)\n at step (C:\Program Files\BatchExplorer\resources\app.asar\node_modules\@Azure\msal-common\dist\index.js:79:23)\n at Object.throw (C:\Program Files\BatchExplorer\resources\app.asar\node_modules\@Azure\msal-common\dist\index.js:60:53)\n at rejected (C:\Program Files\BatchExplorer\resources\app.asar\node_modules\@Azure\msal-common\dist\index.js:51:65)\n at ZoneDelegate.invoke (C:\Program Files\BatchExplorer\resources\app.asar\node_modules\zone.js\dist\zone-node.js:386:30)\n at Zone.run (C:\Program Files\BatchExplorer\resources\app.asar\node_modules\zone.js\dist\zone-node.js:143:47)\n at C:\Program Files\BatchExplorer\resources\app.asar\node_modules\zone.js\dist\zone-node.js:891:38","timestamp":"2021-07-21T08:50:13.992Z"}

Version (please complete the following information):
OS: Windows 10
Version: 2.10.0-stable.519

@dpwatrous
Copy link
Contributor

@Kit-Law-42 are you behind a proxy? I haven't seen this error myself, but it sounds a lot like AzureAD/microsoft-authentication-library-for-js#2600

@ciasom
Copy link

ciasom commented Aug 13, 2021

Same issue when upgrading to 2.10.0-stable.519.
Reinstalled previously downloaded 2.7.0-stable.418.

@dpwatrous , my laptop is behind the corporate proxy.

@eedokl
Copy link

eedokl commented Aug 17, 2021

Hi
I am working at Bosch, corporate network behind firewall and face the very same problem.

@dpwatrous
Copy link
Contributor

Thanks for the additional data points. I'll see if we can get this reproduced on our end (hopefully setting up a proxy is enough).

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

Successfully merging a pull request may close this issue.

5 participants