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

[Bug] user_realm_discovery_failed exception does not provide reason for failure #2835

Closed
2 of 7 tasks
bgavrilMS opened this issue Aug 20, 2021 · 1 comment · Fixed by #2843
Closed
2 of 7 tasks

[Bug] user_realm_discovery_failed exception does not provide reason for failure #2835

bgavrilMS opened this issue Aug 20, 2021 · 1 comment · Fixed by #2843
Assignees
Milestone

Comments

@bgavrilMS
Copy link
Member

Which version of MSAL.NET are you using?
4.35.1

What authentication flow has the issue?

  • Desktop / Mobile
    • Interactive
    • Integrated Windows Authentication
    • Username Password
    • Device code flow (browserless)
  • Web app
    • Authorization code
    • On-Behalf-Of
  • Daemon app
    • Service to Service calls

Other?

Is this a new or existing app? Existing

Expected behavior
HTTP errors while discovering the user realm are not exposed to the user. MSAL should use the standard error handling mechanism here (i.e. MsalServiceExceptionFactory.FromHttpResponse)

Actual behavior
Error root cause is hidden and a generic "user_realm_discovery_failed" exception is presented.

Possible solution

@pmaytak
Copy link
Contributor

pmaytak commented Sep 1, 2021

Included in MSAL.NET 4.36.0 release.

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