Relative Content

Tag Archive for djangodjango-rest-frameworkdjango-rest-framework-simplejwt

In django DRF using JWT, why does postman properly block access to some views but they are available from my Angular front-end without authentication?

I’m trying to restrict access to some views of my API using Django Rest Framework and simpleJWT https://django-rest-framework-simplejwt.readthedocs.io/
The issue I’m facing is that postman correctly blocks access to my views when I do not provide a valid JWT to my API but my Angular front-end does not and gives access to all the views of my DRF API.