AADB2C: OpenIdConnectConfigurationRetriever() gets an IDX20807 exception

Carol Lai 526 Reputation points
2023-06-07T20:44:01.23+00:00

This code used to work, but now we are receiving IDX20807 exception when running from our local machine. It does work on App Service.

string stsDiscoveryEndpoint = $"https://{domain}.b2clogin.com/{domain}.onmicrosoft.com/{policy}/v2.0/.well-known/openid-configuration";

ConfigurationManager
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,273 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,181 Reputation points Microsoft Employee
    2023-07-07T15:09:55.3333333+00:00

    Glad that you were able to quickly resolve your issue @Carol Lai .

    You were receiving an IDX20807 exception from your local machine when connecting to your B2C AD tenant. You were able to resolve your issue by using TLS 1.2.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.