- This is a small implementation when I started learning and doing a personal project about banking system using java spring boot.
- Use refresh token and access token for identification and authorization
- Users can only log in and use on a single device to ensure safety because it is a banking system. When creating an account successfully, the user logs back in and will create a refresh and access token to save in the database and send to the user with an expiration time of 20 minutes.
- After the token expires, users need to use the refreshToken API to send to refreshToken to authenticate and create a new token. If refreshToken and accessToken match the data in the database, a new refresh and access token will be created. If the user continues to use it, status 403 will be returned.
-
Notifications
You must be signed in to change notification settings - Fork 0
License
manhleodz/Spring_Security_JWT
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
