Can't access the shared session from another webapp in my Next.JS auth0 application

So we have two applications, one is running React and the other Next.JS and we have a universal login and a shared session

The requirement is that if the user logs onto the React application I should be able to detect the session existing and hence be able to log onto the Next.JS app as well, but we’re not able to detect the session or call login on the loading of the page. We tried two methods : the silently authenticating using the prompt: none and the getSession method and both don’t work.

I wanted to ask how can we access the token and automatically login the user if the shared session exists inside the Next JS application.


Hey Prateek, did you ever find a solution for this? I’ve been reading though the libraries, can find an answer.