Persistent user login using spring boot and security with JWT access and Refresh token.

Опубликовано: 20 Июнь 2026
на канале: Renjith KN
249
2

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