Skip to content
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

Freshly-Generated Password Reset Token is Invalid when trying to confirm. #662

Open
JamTheDev opened this issue Oct 29, 2024 · 0 comments
Open

Comments

@JamTheDev
Copy link

Hi. I am having a very frustrating issue with dj-rest-auth's password reset. When I request a password reset, it sends this url (pointing to the front-end, not the django backend)

http://127.0.0.1/account/password/reset/5/cfoko5-f595846b5133fa0152c13fecb15545f0/

but the problem is, when i go to the back-end (dj-rest-auth)'s /password/reset/confirm/, it keeps on saying the token is "Invalid". The logs aren't helping me because the error is just "Bad Request: [url here]". See attached image for reference.

image
image

**NOTE: ** The only thing I modified in the setting is the FRONTEND_URL so that it points to my frontend, not to my backend. My frontend is in port 80, backend in port 8080.

I really do hope I can be assisted as this problem has been plaguing me for days on end. Thank you!

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

No branches or pull requests

1 participant