首页 > 其他分享 >使用Postman去验证Oauth2.0授权码模式出现"Error: Bad client credentials"的解决方法

使用Postman去验证Oauth2.0授权码模式出现"Error: Bad client credentials"的解决方法

时间:2022-11-08 11:48:26浏览次数:46  
标签:console Postman Bad client Error credentials Oauth2.0

错误时的authentication的配置如下

 

 检查过console后,发现拿授权码去获取token时没有带上Cilent Secret

 

 经过一番奋斗发现是Client Authentication这里的问题

 

 将这里改成Send client credentials in body就可以成功了

检查console中发现请求也已经带着secret了

 

标签:console,Postman,Bad,client,Error,credentials,Oauth2.0
From: https://www.cnblogs.com/lhbilibili/p/16869130.html

相关文章