Popularity
2.8
Stable
Activity
0.0
Declining
239
12
52

Description

JSON Web Tokens for Sanic applications.

Programming language: Python
License: MIT License
Tags: Build Tools     Authentication     JWT     Sanic    
Latest version: v1.4.1

Sanic JWT alternatives and similar packages

Based on the "Authentication" category.
Alternatively, view Sanic JWT alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Sanic JWT or a related project?

Add another 'Authentication' Package

README

Sanic JWT

Latest PyPI version Python versions Version status MIT License

Build Status Documentation Codacy Badge Test Coverage Code style: black

Sanic JWT adds authentication protection and endpoints to Sanic.

It is both easy to get up and running, and extensible for the developer. It can act to protect endpoints and also provide authentication scoping, all wrapped into a nice JWT.

Read the documentation | View the source code


What do I do?

It's easy: (1) install, (2) initialize, and (3) authenticate.

Install:

pip install sanic-jwt

Initialize:

from sanic import Sanic
from sanic_jwt import Initialize

def my_authenticate(request, *args, **kwargs):
    ...

app = Sanic()
Initialize(
    app,
    authenticate=my_authenticate
)

Authenticate:

http://localhost/auth

Can I customize it?

Definitely! Sanic JWT is made to allow developers to customize the operation to fit their needs. Check out the documentation to learn how.


*Note that all licence references and agreements mentioned in the Sanic JWT README section above are relevant to that project's source code only.