A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
We are facing an issue using authentication cookies for our multi-domain setup.
We've referenced serveral documents including:
https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2020/2/how-to-integrate-adfs-with-episerver-in-case-run-as-multiple-sites/
It seems I have a disconnect understanding how the site-level cookie domains are created in a way that any domain under EpiServer can recognize/validate them after the user logs in using ADFS.
For example:
User visits into site1.domainone.com => redirected to ADFS login => succesfully logs in => saml assertion sent to EPI server => site level cookie created and user authenticated.
User now visits site2.domaintwo.com (still same epi server instance) => redirected to ADFS login repeatedly no matter how many times user logs in.
Here is our startup configuration:
We think the root issue might be related to the explicit setting of the cookie domain ".domainone.com", but the original developers indicated that this was needed for some reason.
I'm just a little confused about how the application would know the authentication cookie is good, if there are multiple domains.