LONGDEAN_ 2021-02-06 22:02 采纳率: 0%
浏览 309

Bad credentials,Not granted any authorities.

  • 报错描述:
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;
            }
  • 有人知道这个怎么解决吗,万分感谢!
  • 写回答

2条回答 默认 最新

  • SoftwareTeacher 《编程之美》作者 2021-02-07 05:57
    关注

    从哪里登录哪里? 什么操作系统?

    评论

报告相同问题?