https://github.com/rapter1990/spring-boot-jwt-authentication
Spring Boot JWT Authentication
https://github.com/rapter1990/spring-boot-jwt-authentication
authentication java jwt jwt-authentication spring-boot spring-boot-application spring-security
Last synced: 10 months ago
JSON representation
Spring Boot JWT Authentication
- Host: GitHub
- URL: https://github.com/rapter1990/spring-boot-jwt-authentication
- Owner: Rapter1990
- Created: 2020-08-24T18:53:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-24T19:19:09.000Z (over 5 years ago)
- Last Synced: 2025-03-26T16:05:27.681Z (10 months ago)
- Topics: authentication, java, jwt, jwt-authentication, spring-boot, spring-boot-application, spring-security
- Language: Java
- Homepage:
- Size: 411 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot JWT Authentication

In this project , I show a Spring Boot application that makes use of JWT authentication for securing an exposed REST API.I can benefit from hard-coded user values for user authentication.Any user can consume this REST API only if it has a valid JSON Web Token (JWT).
I develop a Spring Boot application that exposes REST GET API and REST POST API with mapping with relating pathes and then configure Spring Security for JWT.
Before allowing the relevant users who access to the API with mapping pathes if a token is valid , REST POST API is used to expose with mapping path named for /authenticate to determine which user will get the valid JSON Web Token.
### Image
Picture 1
Picture 2
Picture 3
Picture 4
Picture 5
Picture 6
Picture 7
Picture 8