Django OAuth toolkit testing result unsupported_grant_type
117 views
Skip to first unread message
Osman Makhtoomnejad
unread,
Mar 11, 2024, 2:36:34 AMMar 11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django REST framework
Hi everyone
I want to call the Django OAuth toolkit's default /auth/token API and get a new token for the user.
When I call that API by Postman it is OK and the responses are correct but when I call it with the same information by the DRF APITestCase client it says: "unsupported_grant_type"