A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/2835 below:

[Bug] user_realm_discovery_failed exception does not provide reason for failure · Issue #2835 · AzureAD/microsoft-authentication-library-for-dotnet · GitHub

Which version of MSAL.NET are you using?
4.35.1

What authentication flow has the issue?

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

if (userRealmResponse == null)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4