Rank 1: Thread
I've been following this documentation on my app:
https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-7
On Localhost and local development, it's working fine, but when I deploy and push code on Vercel and AppWrite Cloud so it gives me an error on production
AppwriteException: Invalid redirect
at e.redirect (.next/server/chunks/774.js:55:106603)
at async N (.next/server/chunks/258.js:1:5081) {
code: 400,
type: '',
response: '',
digest: '2748171200'
}