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
- SSL certificate generation failed even t...
Hello, I have an Appwrite Site for which I added a custom domain. However, even though the domain is verified, the SSL certificate generation is failing. It is ...
- [Self-hosted] Realtime crashes with "Mis...
- [SOLVED] Appwrite Cloud and FRA cloud se...
Can anyone estimate how long this will take to resolve? I am checking status here https://status.appwrite.online/