https://github.com/careydevelopment/jwt-guide
https://github.com/careydevelopment/jwt-guide
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/careydevelopment/jwt-guide
- Owner: careydevelopment
- Created: 2020-08-21T22:28:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-24T22:39:43.000Z (almost 6 years ago)
- Last Synced: 2025-02-18T04:54:50.662Z (over 1 year ago)
- Language: Java
- Size: 36.1 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.