Skip to content

implementation of JWT bearer token in python using fastapi

License

Notifications You must be signed in to change notification settings

vishalspawar25/python-jwt-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

python-jwt-auth

Implementation of JWT bearer token authentication in python using fastapi .

install all dependencies in requirements.txt file using pip cmd and run app under src folder.

uvicorn main:app --host localhost --port 8000 --reload

Use below endpoint to generate token

http://localhost:8000/users/token

use below credentials

Username:johndoe
Password: secret

now navigate to below url and pass the bearer token to access this end point.

http://localhost:8000/users/me/

About

implementation of JWT bearer token in python using fastapi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages