Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 478 Bytes

File metadata and controls

16 lines (13 loc) · 478 Bytes

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');