{"repo":"jpadilla/django-jwt-auth","free":true,"listed":false,"github":"https://github.com/jpadilla/django-jwt-auth","clone":"git clone https://github.com/jpadilla/django-jwt-auth.git","description":"JSON Web Token Authentication support for Django","language":"Python","stars":169,"topics":["jwt","python","django"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Django JWT Auth [![build-status-image]][travis] [![pypi-version]][pypi] Overview This package provides JSON Web Token Authentication support for Django. Based on the Django REST Framework JWT Auth package. Installation Install using pip ... Usage In your urls.py add the following URL route to enable obtaining a token via a POST included the user's username and password. 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 abc123 . Now in order to access protected api urls you must include the Authorization: Bearer header. Additional Settings There are some additional settings that you can override similar to how you'd do it with Django REST framework itself. Here are all the available defaults. This packages uses the JSON Web Token Python implementation, PyJWT and allows to modify some of it's available options. JWT SECRET KEY This is the secret key used to encrypt the JWT. Make sure this is safe and not shared or public. Default is your project's settings.SECRET KEY . JWT ALGORITHM Possible values: HS256 - HMAC using SHA-256 hash algorithm (default) HS384 - HMAC using SHA-384 hash algorithm HS512 - HMAC using SHA-512 hash algorithm RS256 - RSASSA-PKCS1-v1 5 signature algorithm using SHA-256 hash algorithm RS384 - RSASSA-PKCS1-v1 5 signature algorithm using SHA-384 hash algorithm RS512 - RSASSA-PKCS1-v1 5 signature algorithm using SHA-512 hash algorithm Note: For the RSASSA-PKCS1","default_branch":null,"files":null,"tree":[],"storefront":"/r/jpadilla","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jpadilla/django-jwt-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}