I have been several weeks on this now. I need to achieve the next scenario with Azure AD B2C custom subdomains: for example, having ssositeA.mydomain.com
with custom policy b2c_1a_signin_siteA
and ssositeB.mydomain.com
with custom policy b2c_1a_signin_siteB
and when signin in SSO for siteA
get signed in to siteB
.
I've tested and that's not at least the default behaviour. Having a central sso works: for example, sso.mydomain/<tenant id>/b2c_1a_signin_siteA
and sso.mydomain/<tenant id>/b2c_1a_signin_siteB
. But, it's not ideal since we would like to have a branding related name in the subdomain.
The cookies are saved with the full subdomain:
.ssositeA.mydomain.com
.ssositeB.mydomain.com
Is there a way to indicate that for ssositeA and ssositeB the cookies be saved at the domain level, so we would have
.mydomain.com (as cookie's Domain)
and we can have shared the session between the two sign in sites?