
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

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

here is an example of mine
await account.createRecovery(email, recoveryUrl);

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

I dont understand Not familer with web development terms can you elaborate?
Recommended threads
- Auth Error
"use client"; import { useEffect } from "react"; import { getSessionCookie } from "@/actions/auth"; import { createBrowserSessionClient } from "@/lib/appwrite-...
- Prevent modifying specific attributes
How do I prevent user to only to be able to modify some of the attributes. Document level security gives full access to update whole document, what are the wor...
- Bypass Error When Creating Account With ...
Suppose user first uses email/pass for log in using xyz@gmail.com, few month later on decides to use google oauth2 with same xyz@gmail.com (or in reverse orde...
