问题描述
我在向 spring boot 应用程序发送同时调用时遇到问题。一些请求成功返回访问令牌,而其他请求则给出内部服务器错误。我也无法在应用程序中找到与此相关的任何日志。
配置方法如下所示:
public void configure(ClientDetailsServiceConfigurer clients) throws Exception {
clients.inMemory()
.withClient(clientId).secret(secretKey)
.authorizedGrantTypes("password","authorization_code","refresh_token").scopes("read","write")
.authorities("ROLE_CLIENT","ROLE_TRUSTED_CLIENT","USER","ADMIN")
.autoApprove(true)
.accesstokenValiditySeconds(5)
.refreshTokenValiditySeconds(500);
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)