Same issue here with nextcloud inside a Docker and behind a nginx reverse-proxy. Iâve set 'overwriteprotocol' => 'https' but it doesnât solve the issue.
I managed to login with windows desktop app with the old login system, but I canât log into the macos app.
I have the same setup, and Iâm having the same problem. If this is an nginx configuration error, does anyone have a suggestion as to what I need to change?
I got the same issue. Grant access button is not working. Only android client can connect. iOS win and linux all can not connect. Chrome console says that
Refused to send form data to ââ because it violates the following Content Security Policy directive: âform-action âselfââ.
I have the same issue. On a company provided macbook on which I am not allowed to modify networking/proxy configuration, Iâm completely blocked for the installation of the nextcloud client due to this.
IMHO this is a bug in the client, because thereâs simply nothing happening when you press the button, no error message, nothing.
to solve this issue you need to add âoverwriteprotocolâ => âhttpsâ in config/config.php in nextcloud, I tested and solving the issue, here the explaination
/**
When generating URLs, Nextcloud attempts to detect whether the server is
accessed via https or http. However, if Nextcloud is behind a proxy
and the proxy handles the https calls, Nextcloud would not know that
ssl is in use, which would result in incorrect URLs being generated.
Valid values are http and https.
*/
âoverwriteprotocolâ => ââ,
EDIT: Installed the 18.0.0.3 docker and added: âoverwriteprotocolâ => âhttpsâ, Which indeed did work!
I have the same problem:
Behind an Nginx reverse proxy; and no app works. When adding overwriteprotocol https nothing works anymore. which is logical I gues because: nextcloud -> nginx is httpâŠ
Any solution to this?
[edit] Strangely: it did work before installing two factor authentication⊠but now after uninstalling it; it still doesnât work. [/edit]
I still have the same problem here with nextcloud in docker behind a traefik2 in docker.
There really is a error message missing.
I will try to add 'overwriteprotocolâ => âhttpsâ to my docker-compose file - iâll report if that helps.
Big trouble whith the âgrant accesâ procedure from the 2.5.XX version of th client on Debian Buster.
Adding the PPA wonât work since the last version will only be available for xenial distros.
had to compile from source the 2.7.xx with no difficulty at all.
Workâs very well !
Please publish some adapted ppa
Iâm having the same issue and overwrite and trusted configs do not work. In a desktop browser I have to refresh the the tab to login as I get the âContent Security Policyâ error messge. In the iOS app Iâm stuck on the grant access screen as it does not redirect.
Just wanted to say thanks - this solved my ios issues. Just completed installing via k8s and I was oh no why isnât this working. excellent forum thanks yâall
Editing a config.php file is not possible on my docker servers, everything is stateless regarding nextcloud itself.
I tried using the documented environment variable âOVERWRITEPROTOCOLâ (set to https) but with no difference.
Thank you!
I have the same problem with docker.
Just add âoverwriteprotocolâ => âhttpsâ,
to config.php and everything is fine !
Thank a lot all you people! )
But I was need to reinstall nextcloud client at all my devices (win10, macos, android)
sorry to jump on to this thread but i am having the same issue here , not sure if im going to the right place to edit config.php ( im fairly new to all this )
but the one i have found within the nectcloud app docker container at /var/www/html/data/config.php
doesnt look like the one at the following address
Hi all,
Iâm running Nextcloud in a FreeNAS jail and am having trouble getting my clients to access the server via my public facing domain. Through a web browser off of my network I can access my server just fine so I know itâs up and running. It is behind an Nginx reverse-proxy.
Editing config.php file in /usr/local/www/nextcloud/config to add âoverwriteprotocolâ => âhttpsâ does not work for me for allowing the android client to access my nextcloud server off of my LAN.
Does anyone have a solution for this? It doesnât seem like it should be a complicated issue especially in this case where I know the server is accessible publicly in the first place.