- 报错描述:
Bad credentials,Not granted any authorities.
- 请求accessToken的模式:密码模式
对照过,用户名没错,密码没错,客户端id没错,客户端密码没错。
- debug到的报错点:
如下,cacheWasUsed=false,抛出错误了
try {
this.preAuthenticationChecks.check(user);
this.additionalAuthenticationChecks(user, (UsernamePasswordAuthenticationToken)authentication);
} catch (AuthenticationException var7) {
if (!cacheWasUsed) {
throw var7;
}
- 有人知道这个怎么解决吗,万分感谢!