Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Token Authentication

An implementation of Token authentication in Flask using Json Web Tokens

Overview

Instead of the traditional approach of database-stored token authentication, JWTs allow for authentication without the need for persisting tokens and querying a database, saving storage space and response time.

Classic approach

Classic sequence diagram

JWT-based approach

JWT sequence diagram

Setup

  1. Clone the library
git clone https://github.com/alielbashir/flask-token-auth
  1. Download the app's dependencies
python -m pip install -r requirements

Usage

Run the server

python app.py

About

JWT-based token authentication

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages