Skip to content

Refresh/ Revoke token #3

@itsmanojb

Description

@itsmanojb

Currently if the jwt token is expired, no way to refresh the token.
Add provision where hitting a endpoint, say /refresh with the refreshToken (which one can get when login, in addition to token) can get you the new token.

Similarly endpoint /revoke will allow revoking any token, which can be useful for logout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions