Shared Session beetween AEM and another application in React | Community
Skip to main content
New Participant
November 8, 2019
Solved

Shared Session beetween AEM and another application in React

  • November 8, 2019
  • 2 replies
  • 2801 views

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.
Best answer by sunjot16

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
November 11, 2019

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.

Employee
November 8, 2019

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.