Cannot connect with android app

Hello,

I can connect to my nextcloud server using personnal domain name using a browser. After lauching the app and entering my url, I have a message telling I’m currently logged in as XXX and asking to grant access to Mozzilla. Nothing happens when clicking on “grant access”. At the same time, an other window has been opened with “Please finalize connection in your browser” (even if I’m already connected in Chrome or Opera) ! This happens with Nextcloud installed with docker on a nas, and also happened with first install in a VM. What am I doing wrong?

Nextcloud v 33.0.2

installed in Docker on Qnap nas Linux 5.10.60-qnap x86_64

Apache 2

PHP 8.4.19

Reverse proxy: Caddy

It did not happen when connecting on local network using server ip

Great thanks for your help.

Greetings to all.

Camomille

Commonly faced while setting up a reverse proxy. Try using the following values in config/config.php:
PHP’overwriteprotocol’ => ‘https’,
‘overwrite.cli.url’ => ‘https://your-domain.com’,