Back

ERR_TOO_MANY_REDIRECTS

  • 0
  • Self Hosted
  • Auth
  • General
  • Web
m0hsin_
21 Jan, 2025, 11:01

I am almost pulling my hair out due to the aforementioned issue.

I deployed Appwrite using Coolify one click setup. Everything was working fine until I needed to add Google Auth, when I did, I realized that google was redirecting to the http endpoint instead of https and thus begun my woes. I first enabled _APP_OPTIONS_FORCE_HTTPS only to be hit by the too many redirects issue. After scouring the internet for a solution I saw that if I set Cloudflare Ssl/tls to Full it should work, I then proceeded to put my app behind Cloudflare and set it to Full, no dice. I have literally tried everything on this forum and still cant figure out a solution, I am almost at the point of going back to Supabase, please someone help me 😭😭😭

TL;DR
Issue: After deploying Appwrite with Coolify one click setup and adding Google Auth, faced ERR_TOO_MANY_REDIRECTS due to Google redirecting to the http endpoint instead of https. Solution: To resolve the issue, ensure Cloudflare SSL/TLS is set to Full and put the app behind Cloudflare.
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