The aim of this demo is to showcase how persistent login can be achieved using access and refresh JWT token with a react web application.
The JWT token will be stored in cookies and sent to the server.
If the access token is invalid, then check if there is a refresh token available and is a valid one.
If so, you refresh the token to issue a new access token and then a new refresh token.
The application server side will be rest API using spring boot and spring security