
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
- User Queries not working
When I try to use queries on users, it gives error saying invalid query method. Now, I dont know whether it is possible or not to query users or it’s just some...
- appwrite cli alpine os
the appwrite cli does not work on alpine os if you install it using the recommended bash script. Maybe there is the possibility to compile it for alpine using t...
- Email OTP Mail Getting Delayed by 10 min...
I just noticed I am reciving delayed otp emails on frankfurt server we are on free plan now but we are planning to change to get on to paid plan can anyone plea...
