@Qprq @samuel-ynh @AxlRose1976 Indeed, the portal in yunohost 12 makes some assumptions that was not made on yunohost 11. Use cases where you need to add domain.tld for managing emails without managing the web part on the yunohost (website on an other server, etc.) is not properly managed and need you to make some changes in /etc/ssowat/conf.json.persistent
I guess something like this could do the trick:
{
"domain_portal_urls": {
"sub1.domain.tld": "sub1.domain.tld/yunohost/sso",
"sub2.domain.tld": "sub2.domain.tld/yunohost/sso",
},
}