Giter Site home page Giter Site logo

Comments (2)

kevinchalet avatar kevinchalet commented on August 17, 2024

Hey,

Is this really the only possible way?

Yes. ASOS will try to "guess" the applicable grant/response types by determining whether the authorization and token endpoints are enabled or not, but if you want to return a more accurate list, using the HandleConfigurationRequest event is the right way to go.

Could we configure it also through startup, and so it maybe also directly get's rejected if a different authorization_code is used?

The original idea was to make these things configurable per-request as much as possible (e.g to support multi-tenancy scenarios with a single ASOS instance).

OpenIddict 3.x - that will replace ASOS when it's officially released - uses a more traditional approach, that requires enabling the flows you want to support at startup. However, developers who need more flexibility will be able to override the validation logic to opt for the same approach ASOS uses.

from aspnet.security.openidconnect.server.

gverstraete avatar gverstraete commented on August 17, 2024

Ok; makes sense! Thanks!

from aspnet.security.openidconnect.server.

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.