Code Monkey home page Code Monkey logo

Comments (3)

jmprieur avatar jmprieur commented on July 18, 2024

@YHgitaccount :

  1. Don't change the redirect URI in the appsettings.json. The app knows already
  2. did you read this article?
    https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/tree/master/6-Deploy-to-Azure

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

YHgitaccount avatar YHgitaccount commented on July 18, 2024

@jmprieur

Thanks for your response.

Regarding 1,
In the "Update the redirect URLs" section of the reference link you commented on, there is the following statement: 5.
5. "If your application calls a web api, make sure to apply the necessary changes on the project appsettings.json, so it calls the published API URL instead of localhost."
I am aware that I need to change the URL to include the domain name of the Web Apps, is that correct?

Also, follow the "Update the redirect URLs" section of the same link,
Add "https://.azurewebsites.net" to the Redirect URL for the Azre AD app,
redirect_error

I registered the following two

  • https://.azurewebsites.net
  • https://.azurewebsites.net/xxx/signin-oidc

However, the situation did not change, so I checked the stack and races in developer mode and received the following error
image

Where else would be appropriate to check?
We would appreciate your comments as we are very troubled.

Translated with www.DeepL.com/Translator (free version)

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

YHgitaccount avatar YHgitaccount commented on July 18, 2024

Here, I solved the problem by changing the root path in the application settings.

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.