增加默认放行接口,特定前缀的feign接口不再二次鉴权

This commit is contained in:
smallchill 2025-01-02 17:15:00 +08:00
parent 7d663018c4
commit 0fba172a97

View File

@ -40,7 +40,9 @@ public class SecureRegistry {
this.defaultExcludePatterns.add("/v3/api-docs/**");
this.defaultExcludePatterns.add("/swagger-ui/**");
this.defaultExcludePatterns.add("/auth/**");
this.defaultExcludePatterns.add("/oauth/**");
this.defaultExcludePatterns.add("/token/**");
this.defaultExcludePatterns.add("/feign/client/**");
this.defaultExcludePatterns.add("/user/user-info");
this.defaultExcludePatterns.add("/user/user-info-by-id");
this.defaultExcludePatterns.add("/menu/auth-routes");