參考了網上很多文章, 按照上面的方法做了,
1,添加了依賴
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-oauth-webflow</artifactId>
<version>${cas.version}</version>
</dependency>
2, 在WEB-INF\classes\application.properties增加配置
3,.在WEB-INF\classes\services中新增service-auth-all-10000003.json
最後運作的時候報錯 , 感覺跟依賴有關,請大俠指導,我的qq:545339823, 友善向大俠請教。
Caused by: Error creating bean with name 'casOAuthWebflowConfiguration': Unsatisfied dependency expressed through field 'oauth20AuthenticationServiceSelectionStrategy';