-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Valid Refresh Tokens despite user changing password #903
Comments
I don't know whether it is the case. Will verify today. Thanks @epicadk for opening this |
@devkapilbansal if you can verify this, it would be amazing. @epicadk can you please add more information to the ticket, for example how to reproduce this bug you found, so that whoever works on it, can have an example to follow. Also if you have any idea of a potential solution, even if its not the one being implemented, please put it in the alternatives :) |
@isabelcosta done . @devkapilbansal I have added steps to reproduce the issues please let me know if I should elaborate any further. |
Valid Issue ✔️ Thanks @epicadk to point out this security bug Tested locally and able to get new access token using old refresh token that should not happen TLDR Access token generated is also valid and can be used after refresh. |
@isabelcosta @vj-codes @rpattath please label this issue |
thank you for such a thorough test and showing the output here 🙌 @devkapilbansal |
@devkapilbansal can you link up the issue here, in case you already created it? |
The issue is #932 |
@isabelcosta @devkapilbansal Can I please get assigned as no one is working on this issue? |
@tichnas consider asking it on zulip. You can work on this as soon as you are assigned to it |
Assigned @tichnas |
Thanks a lot @gaurivn |
You're welcome |
@isabelcosta an update working on the doc right now as discussed in the Mentorship system open session. Sorry it's taking so long. |
Thank you for the update! That's ok @epicadk :) |
Describe the bug
Refresh Tokens are still valid even after the user changes passwords.
To Reproduce
Steps to reproduce the behavior:
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.
The text was updated successfully, but these errors were encountered: