Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Sharing a session across websites

narayanank84409
Level 4
Level 4

As a business requirement, we have a website (https://www.123.com) which is integrated with SSO (thru SAML). The authentication on this site is IDP initiated. On the other hand, I have another website (https://www.231.com) which is also integrated with SSO but authenticated is SP initiated. How can we share a user session between the websites.
Meaning if I logged in at https://www.231.com, I don't want the user to click to log in on the https://www.123.com to show them a logged-in user.

1 Accepted Solution
Jörg_Hoh
Correct answer by
Employee
Employee

You would need to share the cookies between both domains, which is hardly possible due to browser restrictions. You will require at least one time the user to click login again (even if the user doesn't have to enter the credentials again).

View solution in original post

4 Replies
Jörg_Hoh
Correct answer by
Employee
Employee

You would need to share the cookies between both domains, which is hardly possible due to browser restrictions. You will require at least one time the user to click login again (even if the user doesn't have to enter the credentials again).

View solution in original post

narayanank84409
Level 4
Level 4
We want to eliminate the click on login (This one currently we have)
Jörg_Hoh
Employee
Employee
Sorry, I can't help you there. This is not specific to AEM at all, but rather a problem you have with every type of web application, which are hosted on distinct 2nd level domains.