
I would like to set up OAuth (specifically Google). on my self-hosted instance. I am running it through Cloudflare Tunnels but I only managed to get it to run on HTTP. This is forcing the redirect URL of the OAuth to be HTTP and thus being stuck in a redirect loop.
I tried setting appwrite to use HTTPS using the following settings:
_APP_ENV: production
_APP_OPTIONS_FORCE_HTTPS=enabled
_APP_DOMAIN=test-appwrite.domain.com
_APP_DOMAIN_FUNCTIONS=test-appwrite.domain.com
_APP_DOMAIN_TARGET=test-appwrite.domain.com
_APP_SYSTEM_SECURITY_EMAIL_ADDRESS=myemail@mail.com
_APP_EMAIL_CERTIFICATES=myemail@mail.com
On Cloudflare I have SSL mode to Full.
I am also attaching my tunnel setup on Cloudflare Zero Trust.
I am getting a bad gateway error at the moment. Please let me know if I am messing something up, or this is not necessarily the way to go to get OAuth working
Recommended threads
- 404 errors after 7 Days
Local hosted Appwrite via docker. Last version and current version. After exactly 7 days Appwrite stops working. I get 404 route not found, cannot access anyth...
- unable to modify attribute
please help: when I try to modify attribute size or key or anything, I am getting this errors: ``` Deprecated: strtolower(): Passing null to parameter #1 ($str...
- Error 1.7.4 console team no found
In console when i go to auth, select user, select a membership the url not work. Only work searching the team. It is by the region. project-default- and i get ...
