OAuth2 401 Bad Credentials Caused By Incorrect URL

来源:互联网 发布:sql中isnull的用法 编辑:程序博客网 时间:2024/06/08 20:24

做spring microservice in action的oauth2例子,

照著书上在postman的url里加上了/auth prefix,  于是url成了xxx/auth/oauth/token, 其它参数反复confirm没问题.

但是就是报401 Unauthorized  Bad Credentials.

这错报的, misleading啊.

结果把/auth这个prefix去掉就ok了.

阅读全文
0 0
原创粉丝点击