This commit is contained in:
van
2026-03-23 17:19:55 +08:00
parent 9bb7cfc7fb
commit 184a53005d
3 changed files with 52 additions and 1 deletions

View File

@@ -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()