An open API service indexing awesome lists of open source software.

https://github.com/careydevelopment/jwt-guide


https://github.com/careydevelopment/jwt-guide

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# jwt-guide
This repository includes a fully deployable Spring Boot app that demonstrates how to implement a JSON Web Token (JWT) solution.

If you're interested in learning more about how this app works, feel free to check out the tutorial.

You can run the Spring Boot app by right-clicking on the JwtGuide class and selecting Run As... and Java Application.

You'll have to use a tool like Postman to POST the authentication request to this URL:

http://localhost:8080/authenticate

With this payload:

{"username" : "johnny", "password" : "kleptocracy"}

Then, you can put the bearer token in your request header for future requests.