Skip to content

Python JWT Token-Based User Authentication (FastAPI + Docker)

ChiggyJain/PythonJWTTokenBasedUserAuthentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ก๏ธ Python JWT Token-Based User Authentication (FastAPI + Docker)

A production-ready FastAPI project implementing JWT (JSON Web Token) authentication with access and refresh tokens.
This project securely handles user login, token issuance, and silent refresh (automatic regeneration of access tokens when expired).


๐Ÿš€ Features

  • ๐Ÿ”‘ JWT Authentication using Access and Refresh tokens
  • ๐Ÿ”„ Silent Token Refresh: Automatically generates new access & refresh tokens when access token expires
  • ๐Ÿง‘โ€๐Ÿ’ป User login and protected routes
  • ๐Ÿงฑ Built with FastAPI (Python 3.12)
  • ๐Ÿณ Dockerized for seamless deployment
  • โš™๏ธ Environment-based configuration
  • ๐Ÿงพ Clear token expiry and rotation logic

About

Python JWT Token-Based User Authentication (FastAPI + Docker)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published