You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用Postman获取DjangoOauth令牌时遇invalid_client错误求助

使用drf-social-oauth2获取Django OAuth令牌时遇到"invalid_client"错误

在Postman中通过drf-social-oauth2获取Django OAuth令牌时,始终返回"error": "invalid_client"错误。已尝试更换djangorestframework等依赖版本,问题仍未解决,恳请协助。

依赖配置

Django==3.1.4
django-oauth-toolkit==2.2.0
django-storages==1.9.1
djangorestframework==3.11.1
docutils==0.15.2
drf-social-oauth2==1.0.8
social-auth-app-django==5.0.0
social-auth-core==4.3.0

相关截图

  • Postman请求截图:
    Postman Screenshot

  • Django后台截图:
    Django Administration

内容的提问来源于stack exchange,提问作者Madhu

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.16 11:40:38