Skip to content

Spring Boot and Spring Security with JWT including Access and Refresh Tokens

Notifications You must be signed in to change notification settings

Ex4amp1e/spring-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot and Spring Security with JWT including Access and Refresh Tokens

How to start

PostgreSQL

$ docker pull postgres
docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgres

Spring Boot application

mvn spring-boot:run

Default DB users

[
    {
        "name": "Vladislav Byrgazov",
        "username": "ex4ample",
        "password": "qwert",
        "roles": ["ROLE_USER", "ROLE_ADMIN", "ROLE_SUPER_ADMIN"]
    },
    {
        "name": "Anna Byrgazova",
        "username": "insendio",
        "password": "qwert",
        "roles": ["ROLE_USER", "ROLE_ADMIN"]
    },
    {
        "name": "Evgeniy Semenov",
        "username": "fallen_azgard",
        "password": "qwert",
        "roles": ["ROLE_USER", "ROLE_MANAGER"]
    },
    {
        "name": "Natasha Melnik",
        "username": "profcom",
        "password": "qwert",
        "roles": ["ROLE_USER"]
    }
]

About

Spring Boot and Spring Security with JWT including Access and Refresh Tokens

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages