[Answered ]-Permission.AllowAny not working in knoxLoginView

1👍

For anyone also facing this problem and having the whole of stackoverflow not even attempting to help, incase you have this in your urls file:

path('path_url/', include('knox.urls')),

remove it because somehow it’s denying permissions and insisting on giving authorization,that’s why it will only work if you change your authentication to BasicAuthentication,probably a knox authentication bug.

Leave a comment