I am using it with token authentication using django-rest-framework-jwt and it returns the token when User logged in through our rest API.
So the question is how to secure any registration or login views for our API endpoints.Any high-level XSS scripts can have malicious looping for creating registrations.How can we secure it in Django Rest Framework ?