# IDX20803: Unable to obtain configuration from: 'https://{custom domain}/.well-known/openid-configuration'

**URL:** <https://community.auth0.com/t/idx20803-unable-to-obtain-configuration-from-https-custom-domain-well-known-openid-configuration/108457>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [June 3, 2023, 8:04pm UTC](https://community.auth0.com/t/idx20803-unable-to-obtain-configuration-from-https-custom-domain-well-known-openid-configuration/108457 "2023-06-03T20:04:37Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![alex.brett](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alex.brett/32/60157_2.png) [@alex.brett](https://community.auth0.com/u/alex.brett)\
**Post date:** [December 3, 2024, 12:18am UTC](https://community.auth0.com/t/idx20803-unable-to-obtain-configuration-from-https-custom-domain-well-known-openid-configuration/108457/7 "2024-12-03T00:18:35Z")

</div>

Hello @lenmahaffey!

I found a post talking about the error you’re describing. Please take a look and see if it solves it.

> [@System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'System.String'](https://community.auth0.com/t/system-invalidoperationexception-idx20803-unable-to-obtain-configuration-from-system-string/72299/11):
>
> Found the problem. The Authority property was set incorrectly. services.AddAuthentication(options =\> { options.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme; options.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme; }).AddJwtBearer(options =\> { options.Authority = "Auth0 domain"; // this was in correct options.Audience = .... }); Copied code from two different samples and…

I hope this helps!

Best,  
Alex

---

_[View the full topic](https://community.auth0.com/t/idx20803-unable-to-obtain-configuration-from-https-custom-domain-well-known-openid-configuration/108457)._
