Jay_MysticOriginal post
Rank 1: Thread
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.
Summary
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.