Hello people, I need urgent help. It's like this I'm using auth.js to authenticate my site and using Google to log in, when I click to log in with Google it redirects to the Google page I log in, but when it goes back to my site it goes to this url:
"https://www.templaite.ai/api/auth/callback/google? code=4%2F0AQSTgQETe0hEXCebjFwvY4xpq7tMfmgwTpcsUQ9Q-rEehAex-rRVAr_qjWZW4-p7NSgsQQ&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fww. googleapis.com%2Fauth%2Fuserinfo.profile+openid&authuser=0&prompt=none"
And does not create the session token, this only happens when I deploy the site on vercel Localhost does not happen.
I am also facing this issue, have you solved?
But in my case it happen with flutter android oauth2 google login/signup
You're using Appwrite?
Recommended threads
- [1.9.5] Google OAuth do not work anymore
After migrating to 1.8.1 to 1.9.0 then 1.9.5 and login through Google I get on Flutter app "Missing redirect URL" "Your OAuth login flow is missing a proper re...
- 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 ...