uid Invalid value
See original GitHub issueHi!
It seems like the last PR https://github.com/iMerica/dj-rest-auth/pull/266 broke the /dj-rest-auth/password/reset/confirm/
endpoint. If I use the last version of the package with the uid and token on the url which arrives on my email after creating the password reset request, I get
{
"uid": [
"Invalid value"
]
}
However, after commenting out the include from allauth
in dj_rest_auth/serializers.py
and using urlsafe_base64_decode
instead, the password is successfully changed
Here is the relevant line on my urls.py
file
path('password/reset/confirm/<uidb64>/<token>/', PasswordResetConfirmView.as_view(), name='password_reset_confirm'),
I’m fairly new to django and I just started using this package, so the error may be on my side.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Django Rest Auth - UID invalid value error - Stack Overflow
My workaround was to write a custom subclass for ResetPasswordForm , as follows: # helpers.py from server.users.forms import SendInviteForm ...
Read more >Error: This value is already used by another document - FAQs
This means that another document in your repository already has this UID value. It could be a document that is drafted or in...
Read more >[Solved]-Django Rest Auth - UID invalid value error-django
My workaround was to write a custom subclass for ResetPasswordForm , as follows: # helpers.py from server.users.forms import SendInviteForm def ...
Read more >Admin Authentication API Errors | Firebase - Google
The provided uid must be a non-empty string with at most 128 characters. auth/invalid-user-import, The user record to import is invalid. auth/maximum-user-count ...
Read more >Aadhaar enabled Public Distribution System - AePDS
UID Error Description. Sl No, Error Code, Error Description ... 94, 822, Invalid value in the bs attribute of Bio element within Pid....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@RommelTJ thanks for sharing your tmp solution to downgrade to 2.1.5; you saved me a lot of time!
I’m seeing a similar issue. Getting errors like the below on version
2.1.7
.Edit: The issue goes away when I downgrade to
2.1.5
. Version2.1.6
still has the issue.