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
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...
- Appwrite 1.9.0 doctor fails tho database...
So i was testing in a local environment the upgrade for 1.9.0, and after getting everything into a running state, i checked the logs that shows : ``` └── Cre...