question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to obtain configuration from "https://xxxxxx.xxxxxx.com/xxxxxx/.well-known/openid-configuration"

See original GitHub issue

Hello,

I’m having this issue when i try to open the administration. This is balanced environment with IIS. I’d apreciate your help.

2020-04-08 11:54:30.740 -05:00 [ERR] An exception was thrown attempting to execute the error handler. System.InvalidOperationException: IDX20803: Unable to obtain configuration from: ‘https://xxxxxx.xxxxxx.com/xxxxxx/.well-known/openid-configuration’. at Microsoft.IdentityModel.Protocols.ConfigurationManager1.GetConfigurationAsync(CancellationToken cancel) at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsync(AuthenticationProperties properties) at Microsoft.AspNetCore.Authentication.AuthenticationHandler1.ChallengeAsync(AuthenticationProperties properties) at Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync(HttpContext context, String scheme, AuthenticationProperties properties) at Microsoft.AspNetCore.Mvc.ChallengeResult.ExecuteResultAsync(ActionContext context) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultAsync(IActionResult result) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAlwaysRunResultFilters() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync() at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at NWebsec.AspNetCore.Middleware.Middleware.CspMiddleware.Invoke(HttpContext context) at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context) at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context) at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context) at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context) at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mitirazvancommented, Apr 21, 2020

@darkfinlay having the Admin application on a different environment can work but you shouldn’t think of this solution. I’m not an expert on this but I would recommend the following:

  • test to see if you can ping the identityserver public url from the server machine.
  • try to access https://[public url]/.well-known/openid-configuration from server machine

If you cannot do that then that’s your issue that must be solved first. Maybe in your host file you have to replace the 127.0.0.1 with the private url. But if your ping works and you are able to access the well-known endpoint then it might be a configuration issue (wrong client config, etc).

0reactions
darkfinlaycommented, Jul 17, 2020

@aiscrim I was using an older version that does not have that public origin setting. I used the version that it was recommended by you, installed it at the balanced environment and worked perfectly. obviosly i had to configured that public origin setting as https://xxxxx.xxxxx.xxx

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to obtain configuration from well-known/openid- ...
I used something like this, and it resolved my issue. services.AddAuthentication(o => { o.DefaultAuthenticateScheme = JwtBearerDefaults.
Read more >
IDX20803: Unable to obtain configuration · Issue #2623
This issue seems to be related to docker containers and not directly to IdentityServer. All reactions.
Read more >
"IDX10803: Unable to create to obtain configuration from ...
An error happens when going to https://<website>/Sitefinity/ url and type the user credentials in order to login.
Read more >
Sudden Microsoft Identity error IDX20803
I've been getting this error: Copy. System.InvalidOperationException: IDX20803: Unable to obtain configuration from: ...
Read more >
IDX20803: Unable to obtain configuration from: Error ...
I'm using a custom authorization server as I thought the problem was that the default authorization server was too limited. Here is my...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found