djangoflow / django-df-auth

Opinionated Django REST auth endpoints for JWT authentication and social accounts
MIT License
10 stars 19 forks source link

Create /token/ and /token/refresh/ endpoints for Django authentication with JWT #1

Closed ziyapx closed 2 years ago

ziyapx commented 2 years ago

Create functionality to support REST API login through /token/* endpoints returning JWTs back to the clients.

Endpoints:

Views and Serializers: Create classes for each endpoint

Routing: Should use DRF router

Settings: Create required settings e.g. for pluggable model - default to Django default user model

Unit tests: Create unit tests per endpoint and cover edge scenarios

ayushin commented 2 years ago

All done, but testing, creating a new issue for that.