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
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, it’s mention that only setup client with endpoint / api key is enou...
- SELF HOSTING ISSUE, DATA NOT MIGRATING T...
Hey, devs, I recently tried to migrate my cloud instance to a self hosted version but my data is not transferred fully only the table structure is transferred ...
- No Document ID?
Hi I have a self hosted appwrite. My documents get a document ID but are not visible in the console. I don't know why this happens and how to fix this