1
This commit is contained in:
@@ -118,6 +118,10 @@ public class SecurityConfig
|
||||
.antMatchers("/jarvis/tendoc/oauth/callback").permitAll()
|
||||
// 腾讯文档OAuth回调接口(备用路径),允许匿名访问
|
||||
.antMatchers("/tendoc-callback").permitAll()
|
||||
// 金山文档 OAuth 回调(与 @Anonymous 双保险,避免未扫描进白名单时 401)
|
||||
.antMatchers("/kdocs-callback").permitAll()
|
||||
// 旧 WPS 回调路径:重定向到新路径,便于后台仍登记旧 URL 时可用
|
||||
.antMatchers("/wps365-callback").permitAll()
|
||||
// 静态资源,可匿名访问
|
||||
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
|
||||
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
|
||||
|
||||
Reference in New Issue
Block a user