Share via

AADB2C: OpenIdConnectConfigurationRetriever() gets an IDX20807 exception

Carol Lai 531 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 Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,336 Reputation points Microsoft Employee Moderator
    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.

    Was this answer helpful?

    0 comments No comments

Your answer

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