Redirection to portal if any access limitation is set

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.1.23
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No, fresh install

Describe your issue

Hi everyone !
On a fresh install, I am installing new apps (on dedicated subdomains) and for each one of them, I get the same issue :

  • If I se the allowed access to visitors, everything works
  • If I set any other option (single user or group of user), the installation works, but once I try to access the app, I get redirected to the portal with all my apps.

Share relevant logs or error messages

No error to be seen.

Thank you all in advance for your help :heart:

I have no error in my diagnostics results, and I don’t see where I could even begin, anyone has an idea ?

Find the issue, and adding it here for future reference here !

The issue was not in Yunohost, but in my firefox setup, where I was using firefox containers. The situation :

  • A firefox container (let’s call it “personal”)
  • My main domain domain.tld added to the list of websites to open automatically in the “personnal” container
  • The container being set to the option “Limit to designated sites”
  • An app installed on a dedicated subdomain abc.domain.tld
  • The subdomain not in the list of designated sites for the “personal” container

The explanation of what happens :

  1. I login to yunohost in my container by going to domain.tld
  2. I click on the app
  3. A new tab opens that goes too abc.domain.tld
  4. This domain is not in the list allowed in the “personal” container
  5. Firefox “kicks” the tab out of the container, and open a normal “default” tab
  6. I am not logged in Yunohost outside of the container
  7. Yunohost redirect me to the login page, at domain.tld
  8. Firefox automatically put this tab back into the “personal” tab
  9. I am already logged in, so I go to the app list

Difficult to figure out, because all of this happens instantly, to me, it just looks like the tab just duplicated itself…

Sorry for troubling everyone with an issue that had nothing to do with Yunohost.

Love to you all :green_heart:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.