
I am not sure since when this issue is present, but my Google and Apple redirect URI are no longer pointing to the HTTPS redirect URI when I try to use OAuth.
My setup is hosted in Digital Ocean as a Appwrite droplet (VM).
Currently, I get the error:
I have checked my .env
of next to my docker-compose.yml
and it contains:
_APP_OPTIONS_FORCE_HTTPS=disabled
Changing the variable _APP_OPTIONS_FORCE_HTTPS
to enabled
breaks the complete appwrite backend (unreachable). With the message:
The page isn’t redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies.
When adding the http backend to google OAuth authorized redirect URIs the Login works fine. But this shouldn't be the solution, should it?
The issue is same for Apple Sign in. But in this case no redirect URI with the HTTP protocol is accepted instead only HTTPS is allowed (therefore the Apple Sign in is broken without a 'workaround').
The appwrite backend Web UI etc. is only reachable using HTTPS and cannot be reached using HTTP protocol (so there is an valid an working certificate for my domain/sub domain)
I would want appwrite to set the redirect URI to be HTTPS instead of HTTP. But I am unable to find the right setting to do. Can someone help me out?
Recommended threads
- I am facing this error: type 'Null' is ...
When attempting to fetch areas from the area collection, the application throws an error: "type 'Null' is not a subtype of type 'int.'" This issue originates in...
- Adding Domain to Sites [Self Hosted]
I am struggling to get this working. I stood-up a new server and deployed appwrite 1.7.4. I added update .env file _APP_DOMAIN=appwrite.mydomain.com _APP_DOMAI...
- Auth ( OTP Session )
Hi, i would like to ask about OTP session login, may i know is it doable for dynamic/variable for sender,reply-to or not?
