anitab-org / anitab-org/mentorship-backend

Bug: Valid Refresh Tokens despite user changing password

オープン
#903 コメント 16 件 リアクション 1 件 担当者 1 名 @epicadk が担当を希望しています GitHub で見る
Category: Coding Type: Bug
主要言語
Python
スター
200
フォーク
449
PR マージ指標
30日以内にマージされた PR はありません

説明

**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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。