
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
- upsert_documents is not work with jwt cl...
client.set_jwt(jwt) databases = Databases(client) databases.upsert_documents(General, Pallets, [{"$id": "684aeb3e0021e64c10f1", "name": 'тест '}]) This code al...
- Inconsistent header related error in c# ...
I've been banging my head against an issue for days at at this point it seems like it's something to do with the sdk so I've spent several hours tonight on it. ...
- Transferring self-hosted to cloud: will ...
I'd like to transition over to Appwrite cloud, but want to ensure my users won't be forced to re-login.
