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
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...