Skip to content
Init is coming / May 19 - 23
Back

Google Auth - ERR_TOO_MANY_REDIRECTS

  • 0
  • Self Hosted
Jay_Mystic
26 Mar, 2025, 15:48

I am trying to setup google auth for my frontend (say frontend.com using appwrite deployed on backend.com) First I had issues with http vs https: URI redirects which I fixed my forcing https in docker-compose settings.

Now when I click sign in with google on my frontend, I am getting ERR_TOO_MANY_REDIRECTS errors (website address shows : https://backend.com/v1/account/sessions/oauth2/google)

Any idea what's wrong?

Google console : Authorized JavaScript origins has both my frontend and backend domains Authorized redirect URIs points to appwrite-auth/google provided link.

TL;DR
Developers having ERR_TOO_MANY_REDIRECTS issue when setting up Google Auth for a frontend with Appwrite on a backend. Fixed http vs https issue and still facing errors. Ensure HTTPS forced in docker-compose settings. For Google console, double-check Authorized JavaScript origins for frontend and backend domains and Authorized redirect URIs links.
Jay_Mystic
26 Mar, 2025, 15:51
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more