I have used simple JWT for authentication and i have successfully logged in and am getting tokens also. But when i do a request.user in backend i get "Annonymous user". Tried passing Authorization header in axios post in FE REACT but it throws error. Am setting both refresh and access in a state variable and store it in local storage . Am really new into this and I'm totally stuck here.
All i did was to temporarily solve the issue is to send the user id from frontend to backend and by the way it's a bad practice. So please help me out in this guys. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAG2dbb0r4%3DwLgw2zBMyXxSkaOXjRjCbPk-zZf6V5z5uxNyOfHQ%40mail.gmail.com.

