opencloud icon indicating copy to clipboard operation
opencloud copied to clipboard

Accessing opencloud behind a tunnel (pangolin)

Open itstamimi opened this issue 6 months ago • 1 comments

Describe the bug

Installing opencloud require FQDN, once the installation is done, opencloud service need to access that domain as well so you can login, which is mentioned here https://github.com/opencloud-eu/opencloud/issues/399#issuecomment-4366522509 Now, if you have opencloud selfhosted (not a vps) and is running behind a tunnel/reverse proxy like pangolin, opencloud will not be able to acces the domain as long as you have pangolin SSO enabled, which is an authentication by pangolin before you can access the resources. If you disable that, you can access opencloud and login normally, but now everyone on the internet can access your resources, and only knowing the user/pass is what preventing them to access your files (there's also no 2FA), which is risky, rather to have it behind the SSO as well.

Steps to reproduce

1- install OC 2- set up behind pangolin (or similar) 3- can't login if opencloud service can't see the FQDN

Expected behavior

Remove the need of opencloud service to accesss the FQDN

Actual behavior

If opencloud service can't see the domain, the login will throw an error

Setup

Fresh setup, nothing unusual or custom.

itstamimi avatar May 14 '26 05:05 itstamimi

@itstamimi I do not really understand how this is an opencloud issue, can you please elaborate and fill us in with more details?

dragonchaser avatar Jun 15 '26 09:06 dragonchaser