Skip to content

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

Open
@JamTheDev

Description

@JamTheDev

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions