Shared Session beetween AEM and another application in React | Community
Skip to main content
Level 3
Nov 8, 2019 1:14 PM UTC
Solved

Shared Session beetween AEM and another application in React

Hi everyone,

Does anyone have a suggestion for how I can attend this requirement bellow?

I need to shared session between AEM and React application.

Thanks

Alisson Xavier

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
sunjot16
sunjot16Accepted solution
Employee
Nov 11, 2019 5:28 PM UTC

You can set the session using localStorage and thus, it can be accessed by any app within your browser, until you or the logout operation clears the session.

2 replies

sunjot16
sunjot16Accepted solution
Employee
Nov 11, 2019 5:28 PM UTC

You can set the session using localStorage and thus, it can be accessed by any app within your browser, until you or the logout operation clears the session.

Translate
Employee
Nov 8, 2019 3:07 PM UTC

What kind of session do you mean? Is it an AEM user session? If so, this is going to depend on how your React app is integrated with AEM. Is it being served by AEM ? If so, it should be able to access the session easily since the browser holds the session.

Translate