IDX20803 .NET Origin: Application & API OSI layer 7 · Application Last updated 15 Oct 2026

IDX20803: Unable to obtain configuration from: 'https://login.example.com/.well-known/openid-configuration'

The OpenID Connect / JWT bearer middleware couldn’t download the identity provider’s metadata, so it can’t validate tokens or redirect to login.

Exact message you may see Unable to obtain configuration fromIDX20804: Unable to retrieve document from
Seen on: .NET

Meaning

The app fetches /.well-known/openid-configuration at startup or first request. Wrong Authority URL, no outbound internet/proxy, TLS trust problems in containers, or the IdP being down cause IDX20803 (often wrapping IDX20804).

Common causes

  • Authority URL wrong (missing tenant, trailing path)
  • No outbound access / proxy not configured
  • Container doesn’t trust the IdP’s certificate chain
  • IdP outage or local IdP not running

⚡ Quick fix

  1. Open the metadata URL from the server (curl)
  2. Fix Authority (e.g. https://login.microsoftonline.com/{tenant}/v2.0)
  3. Configure proxy/CA certificates for the container

Detailed fix by platform

Shell

  1. curl -sS https://login.example.com/.well-known/openid-configuration | head -c 300

How to diagnose

  1. URL — Reachable from the app host?
  2. Inner — IDX20804 / SSL / DNS message
  3. Proxy — Needed?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Application & API. Errors that are often confused with or caused by this one (click to open):

401 — HTTP 401 Unauthorized (HTTP)401454 — 454 4.7.0 Temporary authentication failure (SMTP AUTH backend unavailable) (Email / SMTP)454535 5.7.3 — Microsoft 365: 535 5.7.3 Authentication unsuccessful (SMTP AUTH / client submission blocked) (Email / SMTP)535 5.7.3AADSTS50076 — Azure AD (Entra ID): AADSTS50076 / AADSTS50079 — multi-factor authentication required (Azure)AADSTS50076AADSTS50126 — AADSTS50126: Error validating credentials due to invalid username or password (Azure)AADSTS50126AADSTS700016 — Azure AD (Entra ID): AADSTS700016 Application not found in the directory (Azure)AADSTS700016auth/invalid-credential — Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials) (Authentication)auth/invalid-credenti…Authentication failed — fatal: Authentication failed for 'https://github.com/x/y.git/' (Git)Authentication failedIDX20803

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.