You should send a custom frontend url to the users, appending the parameters required. Now your frontend will received that and send a POST request with the params received to your DRF backend There you can verify the parameters and change the password
On Fri, 13 Aug 2021 at 11:56, ola neat <[email protected]> wrote: > Ohk > So this is it I'm working on a project using drf & angular & I want to add > forgot password functionality to the project, which i have successfully > achieved now my issue is this after they link for changing password has > been successfully sent to the user's email address( IMG above) how do i > ensure that when the user clicks on that link instead of been redirected to > a django view he/she is redirected to an angular form where they can change > their password > > > > On Thu, Aug 12, 2021, 21:30 Kasper Laudrup <[email protected]> wrote: > >> On 12/08/2021 15.05, ola neat wrote: >> > This is d link I've generate 4 reset pswd sent 2 d user email, but I'm >> > using angular 4 my front end, now my iss is how do i pass angular url >> > so that when d user clicks on diz link, he/she will b redirected to d >> > angular change pswd form >> > >> >> It is pretty hard to understand what you're writing. Not sure if it some >> kind of Pigeon English or similar, but from what I can gather you're >> trying to send an email with a link and the email doesn't contain the >> link you expect? >> >> I don't know why Angular should be related to that, but I don't have any >> experience with that. Maybe you're writing a single page application and >> want to create a link to a specific page there? >> >> Try to rewrite your question in plain English if possible, show the code >> that generates the incorrect link and which link (or specific page in >> you Angular code) you'd actually want it to generate instead. >> >> Kind regards, >> >> Kasper Laudrup >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/882ba90f-fdfa-55ca-d154-510f64b5dbd6%40stacktrace.dk >> . >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAHLKn70nv8_8mJcL%3Dx4oGkMB0Xit-_9Y06t0SDjQp6fPZqwLiQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAHLKn70nv8_8mJcL%3Dx4oGkMB0Xit-_9Y06t0SDjQp6fPZqwLiQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGp2JVG-yjXc-NWZ2shjmppRx5HkqUk2HHw8HXb0RTpR8mAEMA%40mail.gmail.com.

