Closed Nishhtha closed 6 months ago
This is not a topic for this repository, knox is not responsible of authentication in Django Rest Framework.
Nevertheless you are probably missing permissions, please check this tutorial on the official Django Rest Framework documentation https://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/#tutorial-4-authentication-permissions
This is my settings.py file -
I want to add BasicAuthentication to my project but its directly able to hit the api without needing the credentials