Hi,
With express + passport-auth0, how do you get “user” with a request after user logged in, without using in memory session on server side?
Here is a scenario:
-
User visits “/login”, and logged in with auth0 authentication. According to this tutorial https://auth0.com/blog/next-js-authentication-tutorial/ user profile will be stored in in-memory session storage on server side.
-
Then user visit another page, say “/page2”, that doesn’t require login. This time, the request hits another host in the server fleet. In this case, how do you get user profile?
Thank you!