Code Monkey home page Code Monkey logo

System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://XXX.onmicrosoft.com/XXX_SignUp_SignIn/v2.0/.well-known/openid-configuration'. about active-directory-aspnetcore-webapp-openidconnect-v2 HOT 5 OPEN

jimmathew999 avatar jimmathew999 commented on August 17, 2024
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://XXX.onmicrosoft.com/XXX_SignUp_SignIn/v2.0/.well-known/openid-configuration'.

from active-directory-aspnetcore-webapp-openidconnect-v2.

Comments (5)

jennyf19 avatar jennyf19 commented on August 17, 2024

@jimmathew999 are you able to go to this URL in the browser (using your values obviously)?
https://xxx.onmicrosoft.com/XX_SignUp_SignIn/v2.0/.well-known/openid-configuration
You should be able to see the metadata.

from active-directory-aspnetcore-webapp-openidconnect-v2.

jimmathew999 avatar jimmathew999 commented on August 17, 2024

@jennyf19 Yes I'm able to see the metadata. but redirection to Microsoft login is not happening. I'm getting mentioned error. I tried to trace network traffic with the security team to see any firewall blockage. nothing blocked.

  • Added all Microsoft URLs to the proxy.
  • Enabled TLS 1.2 in the registry. Disabled other TLS versions.
  • Verified certificate
  • I'm using Visual Studio 2022 17.6.1

Totally stuck with this issue. I'm troubleshooting for the past few weeks. Not getting any hints.

from active-directory-aspnetcore-webapp-openidconnect-v2.

jmprieur avatar jmprieur commented on August 17, 2024

@jimmathew999 : would this article be helpful? https://github.com/AzureAD/microsoft-identity-web/wiki/Deploying-Web-apps-to-App-services-as-Linux-containers

from active-directory-aspnetcore-webapp-openidconnect-v2.

jimmathew999 avatar jimmathew999 commented on August 17, 2024

@jimmathew999 : would this article be helpful? https://github.com/AzureAD/microsoft-identity-web/wiki/Deploying-Web-apps-to-App-services-as-Linux-containers

@jmprieur thanks for your suggestion. that didn't work. I noticed that this is happening only on corporate environment which is behind proxy. on my personal laptop its working fine.

from active-directory-aspnetcore-webapp-openidconnect-v2.

PostImpatica avatar PostImpatica commented on August 17, 2024

I had this error too even though I'm not even behind a proxy. I was doing something else, can't remember what, I think trying to sign into my visual studio account and it responded with a proxy error. I was like, "what??? I'm not even behind a proxy!!". Well, I connected my development laptop to my phone's wifi hotspot and this error went away. So I guess my home internet router is doing some weird stuff, no clue.

from active-directory-aspnetcore-webapp-openidconnect-v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.