Giter VIP home page Giter VIP logo

Comments (3)

jonathansimmons avatar jonathansimmons commented on May 20, 2024

To be clear, I know that I can override the Doorkeeper::AccessToken model, and I'm happy to. My question is more related to understanding where the token creation is happening and if I can pass it values from the authorization grant flow.

from doorkeeper.

nbulaj avatar nbulaj commented on May 20, 2024

Hi @jonathansimmons . If I understood your questions correctly you need something like this: #1602

Which is currently impossible without overriding some Doorkeeper internals (I mean no config options which allows to do it).

and ensure that the same account_id is continually passed during the refresh_token process.

For this one you will definitely need to to go deeper into gem classes, RefreshToken strategy & request.

from doorkeeper.

jonathansimmons avatar jonathansimmons commented on May 20, 2024

This looks to be exactly what I was hoping for, implemented as a doorkeeper config option.

This PR gives me some insight into what I'd need to do to modify the doorkeeper to have this functionality manually, but I'd prefer not to break form the released gem if possible. I'll move my comments to the PR.

from doorkeeper.

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.