I keep getting invalid redirect url in Nextjs when i try to use google or github authentication
TL;DR
Developers are receiving an 'invalid redirect url' error in Next.js when attempting to use Google or GitHub authentication. The issue may be due to the platform not matching the hostname of the app. Make sure to add a platform that matches the hostname of the app, such as hosting it on Vercel with the correct hostname configuration.Add a platform that matches the hostname of your app
Done that, i hosted it on vercel
added this to hostname *.vercel.app
Recommended threads
- Inviting members while SMTP is disabled ...
Issue: https://github.com/appwrite/console/issues/3125 PR: https://github.com/appwrite/console/pull/3126
- Appwrite Sites: ERR_TOO_MANY_REDIRECTS o...
So, my domain was working perfectly fine with Vercel. I was using cloudflare CDN (still am) but CNAME was DNS-only. I switched over to appwrite, CNAME is still ...
- Project restoration button in console
The project restore button in console is taking no effect, i have tried several times and still nothing, it gives same popup if i reload