So we found a workaround with @ljf :
- all apps that are accessible for visitors : no problem (in example, app1 and app4)
- for the other apps (example app2 and app3), I had to create a specific “subportal”, so my /etc/ssowat/conf.json.persistent looks like :
{
"domain_portal_urls": {
"portal.domain.tld": "portal.domain.tld/yunohost/sso",
"app1.domain.tld": "portal.domain.tld/yunohost/sso",
"app2.domain.tld": "app2.domain.tld/yunohost/sso",
"app3.domain.tld": "app3.domain.tld/yunohost/sso",
"app4.domain.tld": "portal.domain.tld/yunohost/sso",
},
}
When you are on portal.domain.tld and clic on app2, you’ll be redirected to app2 portal. You need to login again, but then you can access the app.
For now it seems that yunohost 12 can not handle this use case better, waiting for a real fix.