Skip to content

Conversation

@mayank-sengar
Copy link

This PR fixes a bug in the refreshAccessToken method where a new refresh token is generated but not stored back in the user's document. As a result, token rotation becomes ineffective and less secure.

Changes:

  • Updates user.refreshToken to the newly generated one.
  • Saves the updated user document.

Fixes #215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refresh token not updated in user document after issuing new one in refreshAccessToken method

1 participant