Skip to content

usersina/spring-jwt-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sprint Boot JWT Generator

This is a microservice for managing authentication & protecting routes using Json Web Token.

Usage:

  1. Start a database.
  2. Uncomment the init_users method in the entry point file.
  3. Start the server.
  4. Submit the following POST request to http://localhost:8081/users/login
{
    "username": "Admin",
    "password": "123"
}

The generated token can be found in the response headers under Authorization.

About

Generate JWT access token with Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages