Spring Boot JWT Authentication example with Spring Security & PostgreSQL
For more detail, please visit:
Secure Spring Boot App with Spring Security & JWT Authentication
Fullstack
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');