mirror of
https://github.com/chillzhuang/blade-tool
synced 2025-01-07 21:45:47 +08:00
⚡ 增加默认放行接口,特定前缀的feign接口不再二次鉴权
This commit is contained in:
parent
7d663018c4
commit
0fba172a97
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user