Skip to content
Spring Boot Demo Application for JWT Authentication with Spring Security
Java
Branch: master
Clone or download
Latest commit dabe731 Oct 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn/wrapper first commit Oct 15, 2019
src first commit Oct 15, 2019
.gitignore first commit Oct 15, 2019
README.md first commit Oct 15, 2019
mvnw first commit Oct 15, 2019
mvnw.cmd first commit Oct 15, 2019
pom.xml first commit Oct 15, 2019

README.md

Spring Boot JWT Authentication example with Spring Security & PostgreSQL

For more detail, please visit:

Secure Spring Boot App with Spring Security & JWT Authentication

Run Spring Boot application

mvn spring-boot:run

Run following SQL insert statements

INSERT INTO roles(name) VALUES('ROLE_USER');
INSERT INTO roles(name) VALUES('ROLE_MODERATOR');
INSERT INTO roles(name) VALUES('ROLE_ADMIN');
You can’t perform that action at this time.