Skip to content

Add refresh in the jwt extension #5187

@jannyHou

Description

@jannyHou

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

  • Add refresh function in the jwt strategy and corresponding tests.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions