diff --git a/iot-common-satoken/src/main/java/cc/iotkit/common/satoken/config/SaTokenConfig.java b/iot-common-satoken/src/main/java/cc/iotkit/common/satoken/config/SaTokenConfig.java index c58ae5d..994af39 100755 --- a/iot-common-satoken/src/main/java/cc/iotkit/common/satoken/config/SaTokenConfig.java +++ b/iot-common-satoken/src/main/java/cc/iotkit/common/satoken/config/SaTokenConfig.java @@ -69,11 +69,14 @@ public class SaTokenConfig implements WebMvcConfigurer { List swaggerUrls = List.of("/doc.html","/favicon.ico", "/webjars/**", "/resources/**" , "/swagger-resources/**", "/swagger-ui.html/**"); + List pluginStatics = List.of("/static-plugin/**"); + List loginUrls = List.of("/code", "/auth/tenant/list", "/auth/login", "/auth/logout","/iot-oss/**"); List openApiUrls = List.of( "/openapi/v1/getToken"); List excludeUrls = new ArrayList<>(); excludeUrls.addAll(loginUrls); + excludeUrls.addAll(pluginStatics); excludeUrls.addAll(swaggerUrls); excludeUrls.addAll(openApiUrls);