JSON Web Token Authentication support for Django REST Framework. This package provides JSON Web Token Authentication support for Django REST framework. Unlike some more typical uses of JWTs, this module only generates authentication tokens that will verify the user who is requesting one of your DRF protected API resources. The actual request parameters themselves are not included in the JWT claims which means they are not signed and may be tampered with. You should only expose your API endpoints over SSL/TLS to protect against content tampering and certain kinds of replay attacks. You can easily test if the endpoint is working by doing the following in your terminal, if you had a user created with the username admin and password password123. Alternatively, you can use all the content types supported by the Django REST framework to obtain the auth token.

Features

  • Requires Python (2.7, 3.3, 3.4, 3.5, 3.6)
  • Requires Django (1.8, 1.9, 1.10, 1.11)
  • Requires Django REST Framework (3.1, 3.2, 3.3, 3.4, 3.5, 3.6)
  • Install using pip
  • Pass in an existing token to the refresh endpoint
  • Refresh with tokens can be repeated (token1 -> token2 -> token3)

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow REST framework JWT Auth

REST framework JWT Auth Web Site

Other Useful Business Software
Deliver trusted data with dbt Icon
Deliver trusted data with dbt

dbt Labs empowers data teams to build reliable, governed data pipelines—accelerating analytics and AI initiatives with speed and confidence.

Data teams use dbt to codify business logic and make it accessible to the entire organization—for use in reporting, ML modeling, and operational workflows.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of REST framework JWT Auth!

Additional Project Details

Programming Language

Python

Related Categories

Python Software Development Software, Python Frameworks

Registered

2022-08-29