User must be authenticated with Spring Security before authorization can be completed.

在整合SpringOAuth2.0时,启动后访问/oauth/authorize接口获取code时
显示User must be authenticated with Spring Security before authorization can be completed.异常,这个异常我在网上看了一些解决方案,都不符合我的问题。有一个是这样的
User must be authenticated with Spring Security before authorization can be completed._第1张图片
没用!

还一种就是
User must be authenticated with Spring Security before authorization can be completed._第2张图片
还一种
User must be authenticated with Spring Security before authorization can be completed._第3张图片

你可能感兴趣的:(#,SpringSecurity,后端)