Skip to content
Init is coming / May 10 - 14
Back

`http://` callback URIs

  • 0
  • Self Hosted
  • General
  • Web
Nebula
28 May, 2025, 09:06

Hiya.

I'm a little inexperienced with SSL and HTTPS, so I'm not sure if what I've been trying does anything. My redirect URIs for my OAuth providers are all HTTP - despite Appwrite saying they should be HTTPS.

I'm using Cloudflare, on full mode - using caddy to make the SSL certificates. These point to the 80 port from Appwrite - is that the issue? Because I can't seem to point the domains to the 443 port from Appwrite because then I get conflicts.

I tried the FORCE_HTTPS parameters in the .env file but they cause redirect issues (probably between Caddy and Appwrite comunicating?)

I'm not really sure on how all this works, sorry. Thanks making such a great service though!

TL;DR
Developers needed help setting up HTTP callback URIs for OAuth providers. They resolved the issue by using Caddy to proxy domains to Appwrite's 443 port and disabling insecure TLS checks using the provided code snippet.
Nebula
28 May, 2025, 09:16

Got it working - had to make Caddy proxy the domains to Appwrite's 443 port and disabled the insecure tls check:

TypeScript
reverse_proxy https://localhost:8443 {
    transport http {
        tls
        tls_insecure_skip_verify
    }
}
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