Browse Source

去掉/client放行

test
smallchill 5 years ago
parent
commit
2691fd50c8
  1. 2
      blade-gateway/src/main/java/org/springblade/gateway/provider/AuthProvider.java

2
blade-gateway/src/main/java/org/springblade/gateway/provider/AuthProvider.java

@ -32,8 +32,8 @@ public class AuthProvider {
private static List<String> defaultSkipUrl = new ArrayList<>();
static {
defaultSkipUrl.add("/client/**");
defaultSkipUrl.add("/oauth/token/**");
defaultSkipUrl.add("/oauth/user-info");
defaultSkipUrl.add("/token/**");
defaultSkipUrl.add("/actuator/health/**");
defaultSkipUrl.add("/v2/api-docs/**");

Loading…
Cancel
Save