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

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

Awesome Lists containing this project

README

          

# Spring Boot JWT Authentication

![Image description](https://github.com/Rapter1990/Spring-JWT-Authentication/blob/master/New%20Project.png)

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