Skip to content
An open source Sanic extension that provides JWT support (currently WIP)
Branch: master
Clone or download
Latest commit 53d49ea Nov 13, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs RELEASE 0.1.0!! 👍 Nov 13, 2018
examples ADD: examples Nov 13, 2018
.gitignore Initial commit Nov 6, 2018
LICENSE Update Nov 12, 2018
requirements.txt Update requirements.txt Nov 12, 2018


What is Sanic-JWT-Extended?

Sanic-JWT-Extended is Sanic version of Flask-JWT-Extended. this is stable, but some features of Flask-JWT-Extended is not implemented yet. so this currently WIP.

When to use Flask-JWT-Extended?

Sanic-JWT-Extended not only adds support for using JSON Web Tokens (JWT) to Sanic for protecting views, but also many helpful (and optional) features built in to make working with JSON Web Tokens easier. These include:

  • Support for adding custom claims to JSON Web Tokens
  • Refresh tokens
  • Token freshness and separate view decorators to only allow fresh tokens


pip install sanic-jwt-extended


View the documentation online

Generating Documentation

You can generate a local copy of the documentation. After installing the requirements, go to the docs directory and run:

$ make clean && make html
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.