mall-swarm icon indicating copy to clipboard operation
mall-swarm copied to clipboard

网关oauth资源服务异常拦截问题

Open pxniu opened this issue 3 years ago • 1 comments

.accessDeniedHandler(restfulAccessDeniedHandler)//处理未授权 .authenticationEntryPoint(restAuthenticationEntryPoint)//处理未认证

这两个是不是应该放到.oauth2ResourceServer()后

pxniu avatar Aug 14 '22 15:08 pxniu

.accessDeniedHandler(restfulAccessDeniedHandler)//处理未授权 .authenticationEntryPoint(restAuthenticationEntryPoint)//处理未认证

这两个是不是应该放到.oauth2ResourceServer()后

不用,这两个是security拦截

taozai123 avatar Sep 26 '22 01:09 taozai123