Spring Boot OAuth2无法获取访问令牌

时间:2018-03-08 09:52:17

标签: spring-boot spring-security-oauth2

我正在使用Spring Boot和OAuth2进行SSO登录。

我在http://localhost:8001/demo上运行了oauth2客户端,在http://localhost:9001/uaa上运行了oauth2授权服务器

结果,在批准页面之后,它一次又一次地直接进入批准页面。我回来了“ org.springframework.security.authentication.BadCredentialsException:无法获取访问令牌”客户端。

我不知道发生了什么。我用Spring Boot1.5做了这一切似乎都找到了

Code

0 个答案:

没有答案