我正在尝试使用(2.0.6.RELEASE)构建OAuth2授权服务器。org.springframework.security.authentication.InsufficientAuthenticationException","message":"User must be authenticated with Springthrow new InsufficientAuthenticationException(
"User must be authen
<dependency> <artifactId>spring-boot-starter-oauth2I built the angular files and placed them under resources/static folder
现在重定向到auth服务器并回调到应用程序是成功的,但是如何获取oauth2令牌并将其存储在角应用程序中,这将对进
因此,我正在尝试实现spring授权。我阅读了文档并添加了下面的代码。但我真正想要的是实现我自己的authenticated()方法。因此,在执行anyRequest().authenticated()时,它基本上应该调用我自己实现的authenticated()方法,用来检查用户是否已登录。我想要下面这样的东西//I check here if user is present in the se