-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add refresh in the jwt extension #5187
Comments
@madaky, per our discussion on Slack, seems like you'll try to work on that. Assigning this to you now. Thanks! |
@dhmlau: I am on it |
Proposed Use Case for Referesh Token: Any sugestion @jannyHou @deepakrkris @dhmlau @mschnee |
The discussion #4573 : pointing towards adding a method signature in Authentication Component. For giving User choice between Choosing need for refresh token. I implemented two interceptors @intercept('refresh-token-grant') // to refresh token |
Suggestion
Based on the comment from @mschnee in #5046 (comment).
Add token refresh functionality in the jwt auth extension https://github.com/strongloop/loopback-next/tree/master/extensions/authentication-jwt
There is a demo PR for token refresh in loopbackio/loopback4-example-shopping#537, and the token service interface has revokeToken function added in https://github.com/strongloop/loopback-next/pull/4746/files.
Use Cases
TBD
I may need more time to create the use case and example, cc @mschnee would you like to add your expected use cases here? Thank you!
Examples
TBD
Acceptance criteria
The text was updated successfully, but these errors were encountered: