zetonteam / zeton_django

Hacktoberfest
Apache License 2.0
10 stars 2 forks source link

Auth #23

Closed visse0001 closed 3 years ago

visse0001 commented 3 years ago

Ready to merge. I decided to use djangorestframework-jwt This package provides JSON Web Token Authentication

To check how the tokens work, follow the instructions in README :) You can also check how the tokens work by logging in as admin by hitting http://localhost:8000/admin in your browser and then hitting private endpoints e.g. http://localhost:8000/api/users/students/

You may copy and paste your token here https://jwt.io/ and see header, payload and signature, if you want :) More info is available in commits history.