-
-
Notifications
You must be signed in to change notification settings - Fork 162
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 in password reset token #1092
Comments
Oh interesting. We will need to check for a url_safe option for this just to be sure. |
Yeah, it's probably an easy fix in authentic. |
Ah nice. URL safe or probably encode with Base64 should likely fix it too |
So, |
I think we'd want urlsafe_encode which will replace |
Ok, that sounds more reasonable. A good one to know. 🤓️ |
I've been testing our password reset flow and ran into a few 500 errors. At first, I thought it was on my side, but it turns out there is a bug caused by the generated tokens.
If a token contains a
+
, it is interpreted as whitespace. Here is an example:At the error page, it shows the token without the
+
:The text was updated successfully, but these errors were encountered: