Skip to content
Back

Forget Password Recovery Email Re-direction

  • 0
  • Web
Rehman
25 Mar, 2025, 11:43

After getting email from createRecovery the path we are getting is the domin?userid&secret. Can we add a page route in the redirect link which we are getting in the email like domin/set-password?userid&secret from the appwrite ? so we don't have to get the userId and secret from the middleware

TL;DR
Developers are discussing adding a page route in the redirect link received in the email for password recovery. This change would enable them to directly process the user data without needing to extract it from the middleware.
Axistro
25 Mar, 2025, 11:49

the redirect url should be yourdomain/redirect_screen there apply logic to extract the data of user

Axistro
25 Mar, 2025, 11:51

here is an example of mine

TypeScript
await account.createRecovery(email, recoveryUrl);
Rehman
25 Mar, 2025, 11:54

@Axistro you are getting the userId and secret in the middleware ?

Axistro
25 Mar, 2025, 11:55

I dont understand Not familer with web development terms can you elaborate?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more