Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/falco13/jwt-auth-token-django

Django REST application with JWT token authentication, registration, refresh token and logout
https://github.com/falco13/jwt-auth-token-django

401 access-token api authentication authorization django django-rest-framework jwt jwt-auth jwt-authentication jwt-token python refresh-token registration rest rest-api token

Last synced: 29 days ago
JSON representation

Django REST application with JWT token authentication, registration, refresh token and logout

Awesome Lists containing this project

README

        

# jwt-auth-token-django
# Django application with token authentication, refresh & access tokens, registration and logout

- User model with usernamefield = email, and without username field.
- Implemented the ability to authentication with jwt-token, access_token refresh with refresh_token from cookies, logout with clearing cookies.
- Fixed authentication error code 401 instead of 403.

__API end-points:__
- api/register/
- api/login/
- api/logout/
- api/user/
- api/refresh/

__Used tools:__
:heavy_check_mark: Python
:heavy_check_mark: Django REST Framework
:heavy_check_mark: PyJWT
:heavy_check_mark: SQLite database