Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.
Here’s an outline with best practices for making your inquiry.
My question:
I need current login user details in django. So I am trying to collect user information from request.user but when I hit the url from browser I am getting expected result but when I hit the same url in postman it can’t get the user information hence getting error though I am providing bearer token. The first image is from browser second one from postman.
Details (like screenshots):
How I found the problem:
I’ve already tried:
Already tried to debug it using pdb.set_trace() but when I try from browser I get user details session details unlike postman.