Skip to content

Bug: Valid Refresh Tokens despite user changing password #903

Open
@epicadk

Description

Describe the bug

Refresh Tokens are still valid even after the user changes passwords.
To Reproduce

Steps to reproduce the behavior:

  1. Login and save the refresh token you get.
  2. Change password
  3. Scroll down to Refresh endpoint and use the old Refresh token.
  4. See error

Expected behavior

Refresh Tokens should not be valid after a user changes passwords.

Additional context

This can be done by using the users hashed password as the secret for the refresh tokens.

Metadata

Assignees

Labels

Category: CodingChanges to code base or refactored code that doesn't fix a bug.Type: BugBug or Bug fixes.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions