Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to send refresh token next to access token after authorization? #219

Open
felixfrtz opened this issue Nov 22, 2017 · 1 comment
Open

Comments

@felixfrtz
Copy link

Hey,

I am working on an implementation which requires that after the user approved a client, the client needs to receive the refresh_token as well next to the access_token. I already implemented the refresh_token on the token route, meaning that retrieving a new access_token with a given refresh_token works. However, tokne.js doesn't seem to provide an input for a refresh_token.

What I expected is that one calls done(null, accessToken, refreshToken) and both get sent. How can this be implemented?

@jesseg34
Copy link

jesseg34 commented Apr 9, 2018

@Warhost checkout my answer to issue #222 and let me know if that is what you needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants