
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' }

This is the right place. Next time avoid cross posting 😅

have you added your vercel domain as a platform in appwrite?

So please don't just tell me, also help me and give me the solution to my problem :appwritecheers:

My Vercel domain is https://abbasi-storeit-theta.vercel.app/ I added it, but he is asking for verification of dns record, but I don't know how to verify the DNS of this vercel domain Except for these domains, other providers I know how to verify them, but on vercel this domain I might be a little bit confused

@Kenny

That's not what I'm talking about
On the main page of your project you should see a button to add a platform, you'll put the vercel domain there

that is like whitelisting that domain to use stuff on your appwrite project to prevent attacks.

okay let me check it out

@Kenny I add the project domain in the project then what I could do next

try and see if the error still persists?...

Thanks Bro, the error is resolved :appwritemandancing: :appwritecheers:

[SOLVED] Appwriteexception: invalid redirect at e.redirect
Recommended threads
- Appwrite 1.7.4 Docker query error
I’m running Appwrite 1.7.4 docker image using the sdk-for-apple package. The collection has 16 documents if l run Query.limit(1) I get one record. But if I run ...
- (vcs.read) error when connecting github
when trying to connect my github app to gain access to the repo its showing this error: Error 401 User (role: guests) missing scope (vcs.read) general_unauthor...
- No access control allow origin -blocked ...
im not sure what exaclty im doing wrong - its my first time using appwrite - and im watching a tutorial about how to create a movie app and followed everything ...
