'How to handle session across reactjs client and java server?
I am making a react application with java as the backend. The application has a login page and several other components. I would like to have a session to know that the user is authenticated to access all the other components as well. But this authentication has to be performed in Java which is the backend. As far as I understood, session data can be passed from one servlet to another thereby knowing if the user is authenticated. But I would like to send this session to my react frontend so that I can move across the components with permission from the server. Any high-level ideas or resources?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
