How to set a custom URL for Password Reset email that is sent using Django Dj-Rest-Auth, Django Allauth

78 Views Asked by At

so I have dj-rest-auth end points working but I am trying to customize the URL that is generated in the email to point to my front end.

How would I do this?

right now it sends the email with a url from the django server.

http://server-ip:8000/api/password/reset/confirm/{the id}/{token} however id like to make it so

http://myflutterapp.com/passwordreset/{id}/{token} thanks,

I tried following this tutorial https://medium.com/@etentuk/django-rest-framework-how-to-edit-reset-password-link-in-dj-rest-auth-with-dj-allauth-installed-c54bae36504e

but it didn't work.

0

There are 0 best solutions below