Skip to content

fix(rest): Add token to blacklist when user logs out. #3292

@nikkuma7

Description

@nikkuma7

Description

Currently, when a user logs out, their JWT token remains valid until expiration. This poses a security risk as the token could potentially be reused. We need to implement token invalidation during the logout process.

Please describe your situation in few words here.

Steps followed and expected result

Describe the steps followed by you and your expected results after following the steps.

Screenshots ( if applicable )

Add screenshots to help explain your problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions