特牛生活网

Spring Security系列(四)——Spring Oauth2实现登录同时授权、自定义授权界面_oauth2自定义登录页面_玖涯菜菜子的博客-CSDN博客

网友收藏
  • 链接地址:https://blog.csdn.net/nineya_com/article/details/113622704
  • 链接标题:Spring Security系列(四)——Spring Oauth2实现登录同时授权、自定义授权界面_oauth2自定义登录页面_玖涯菜菜子的博客-CSDN博客
  • 所属网站:blog.csdn.net
  • 被收藏次数:7801
文章浏览阅读3.5k次,点赞5次,收藏11次。本文环境: org.springframework.cloud:spring-cloud-starter-oauth2:2.2.4.RELEASE本文场景: 希望实现类似 QQ 的登陆并授权功能,但是将 /oauth/authorize 路径加入 permitAll 没有生效,加入 web.ignoring() 后抛出了 User must be authenticated with Spring Security before authorizing an access token. 异常,在 Spri_oauth2自定义登录页面