前言
因为代码里面有某个类继承了WebSecurityConfigurerAdapter
,导致在别的类里面,clientDetailsService注入为空
解决办法
https://blog.csdn.net/llwlwl414/article/details/105009513/
学习
clientDetailsService
- https://www.cnblogs.com/luguojun/p/12677184.html
- https://blog.csdn.net/caplike/article/details/107059387
- 自定义clientDetailsService
https://my.oschina.net/u/3500033/blog/3080475 - oauth2.0通过JdbcClientDetailsService从数据库读取相应的配置
https://www.cnblogs.com/charlypage/p/9383420.html