An open API service indexing awesome lists of open source software.

https://github.com/hendrowunga/springboot-refreshtoken

WT Refresh Token with Spring Boot 🔒 provides a secure authentication system using JSON Web Tokens (JWT). It includes access token generation and refresh token functionality for seamless and efficient user session management 🔄.
https://github.com/hendrowunga/springboot-refreshtoken

Last synced: 11 months ago
JSON representation

WT Refresh Token with Spring Boot 🔒 provides a secure authentication system using JSON Web Tokens (JWT). It includes access token generation and refresh token functionality for seamless and efficient user session management 🔄.

Awesome Lists containing this project

README

          

## Spring JWT

This project is designed to implement a refresh token mechanism that allows users to obtain a new access token when their access token has expired. Here are some key features of this project:

### Register
Users can register a new account by submitting the required information through the registration endpoint.
![](sc/register.png)

### Login
Users can log into their account by submitting valid credentials through the login endpoint. Upon success, they will receive an access token and a refresh token.
![](sc/login.png)

### Refresh Token
If the user's access token has expired, they can use the refresh token to obtain a new access token without needing to log in again.
![](sc/refresh_token.png)

### Demo
A demonstration of how this application works, including the registration process, login, using the access token, and the refresh token process.
![](sc/demo.png)

### Logout
Users can log out of their account, which will invalidate the existing tokens and end their session.
![](sc/logout.png)

This project is designed to ensure that users can easily maintain access to services, even after their access token has expired, through the secure and efficient use of refresh tokens.