- 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:
✔️ Python
✔️ Django REST Framework
✔️ PyJWT
✔️ SQLite database