We will add token-based authentication REsT API with Django Rest Framework and Djoser. The Django Rest Framework is a package for faster building REST APIs with Django. The Djoser provides basic views to handle authentication actions such as create user, login, logout.
-
Token Based Authentication with Django Rest Framework and Djoser
Django Django-rest-framework Token based authentication Djoser Backend Piotr Płoński, October 26, 2020