jpadilla / django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework
http://jpadilla.github.io/django-rest-framework-jwt/
MIT License
3.19k stars 650 forks source link

Unprotected Resource #404

Closed Meemaw closed 6 years ago

Meemaw commented 6 years ago

Hey I want to have unprotected resources like this:

class GroupJoinView(APIView):

    permission_classes = (AllowAny,)

   def get(.....):
       ....

This does pass my tests but I get 401 when trying to go to that url form email client.

alexanderatallah commented 6 years ago

@Meemaw I'm getting 401s when I add AllowAny to my views. why did you close this?