Skip to content

GarretLeotta/jwt_token_buddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple poc of JWT token authorization.

Two docker containers each running a flask server.

Authorization server on port 5050 GET /get_token App server on port 5060 GET /login

Client retrieves a token from the auth server (for now the token contents are hardcoded, but the signing will work for any token) Client passes that token to the app server via authorization headers

This way, the authorization server holds the password, and the app delegates authorization to that server

docker-compose up -d
python test.py

About

Simple JWT server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors