You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into the issue where I had put the ''asymmetric_jwt_auth.middleware.JWTAuthMiddleware' before 'django.contrib.auth.middleware.AuthenticationMiddleware', and because django's authentication middleware overwrites request.user every time, I didn't get the desired authentication. Maybe this is obvious to a seasoned django developer, but I think putting this somewhere in the docs, could help other users.
Thanks.
The text was updated successfully, but these errors were encountered:
I ran into the issue where I had put the ''asymmetric_jwt_auth.middleware.JWTAuthMiddleware' before 'django.contrib.auth.middleware.AuthenticationMiddleware', and because django's authentication middleware overwrites request.user every time, I didn't get the desired authentication. Maybe this is obvious to a seasoned django developer, but I think putting this somewhere in the docs, could help other users.
Thanks.
The text was updated successfully, but these errors were encountered: