Giter Club home page Giter Club logo

Comments (6)

muhlemmer avatar muhlemmer commented on July 19, 2024 1

Hi, sorry for the late reply. I gave it another thought:

Changing the response type is a breaking change, and we want to prevent that on v3 / main. I think the best solution is indeed the one you proposed earlier, and then we clean that up and use the oauth2.DeviceAuthResponse in v4 / next branch.

We are open for a PR.

from oidc.

github-actions avatar github-actions commented on July 19, 2024 1

πŸŽ‰ This issue has been resolved in version 3.20.0 πŸŽ‰

The release is available on GitHub release

Your semantic-release bot πŸ“¦πŸš€

from oidc.

muhlemmer avatar muhlemmer commented on July 19, 2024

Hi, no I have nothing against it.

As the oauth2 implementation was released shortly after ours, I was actually thinking if we can somehow reuse some of their definitions and cleanup our code. Perhaps the response object would be a good start.

from oidc.

celian-garcia avatar celian-garcia commented on July 19, 2024

Indeed the DeviceAuthResponse struct looks very similar with your DeviceAuthorizationResponse and it sounds safe enough to start by leveraging on it. To go further, the whole DeviceAuth method itself would be even interesting to look at and check the differences with your implementation. I'm not sure theyΕ•e equal but look similar.

from oidc.

celian-garcia avatar celian-garcia commented on July 19, 2024

I can create a PR just reusing the oauth2.DeviceAuthResponse if you have no objection.

from oidc.

celian-garcia avatar celian-garcia commented on July 19, 2024

Thanks for the answer, I had the same feeling. I'll do a PR tomorrow ;)

from oidc.

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.