GithubHelp home page GithubHelp logo

Comments (4)

aisensiy avatar aisensiy commented on July 18, 2024 1

Right now the password grant flow is better than client credential grant flow for me. So I will try to implement this later...

from doorkeeper-openid_connect.

toupeira avatar toupeira commented on July 18, 2024

No plans, Doorkeeper supports it but it says "The main difference from the others is that this flow is not associated with a resource owner." so I'm not sure if it even makes sense to use this flow with OIC.

from doorkeeper-openid_connect.

aisensiy avatar aisensiy commented on July 18, 2024

I think it make sense with microservice architectures.

I'm trying to use doorkeeper-openid_connect to create a central "account management and authentication service" like keycloak, or you can think it as an open source version auth0.

And it need to integrate other microservices. The client credential way is the main method to make the other microservices themserlves authenticated as a resource owner.

And if the Doorkeeper supports it, does it mean it is easy to make it support for doorkeeper openid connect? I have little knowledge to develop a gem like this but I do have some rails working experience. So if you can give me some hint I think I can do some contribution if you like it.

from doorkeeper-openid_connect.

toupeira avatar toupeira commented on July 18, 2024

A PR would be welcome if you can get this working 👍

If you look at lib/doorkeeper/openid_connect/oauth/authorization_code_request.rb you can see how we extend Doorkeeper to add the ID token to the response, basically you need to do something similar for lib/doorkeeper/oauth/client_credentials_request.rb but since there doesn't seem to be a resource owner in that context I'm not sure how to proceed.

Unfortunately I don't have time to look into this, but can suggest maybe doing more research if/how other OIC providers implement this.

from doorkeeper-openid_connect.

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.