From 21dfcf3c4fcd2968460df62083018fbcc55066e3 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Mon, 25 Mar 2024 22:40:35 -0700 Subject: [PATCH] Add missing endpoint on non-auth. --- .../src/main/java/com/wisemapping/config/rest/RestAppConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/wise-api/src/main/java/com/wisemapping/config/rest/RestAppConfig.java b/wise-api/src/main/java/com/wisemapping/config/rest/RestAppConfig.java index 15b99e2c..35ed679a 100644 --- a/wise-api/src/main/java/com/wisemapping/config/rest/RestAppConfig.java +++ b/wise-api/src/main/java/com/wisemapping/config/rest/RestAppConfig.java @@ -45,6 +45,7 @@ SecurityFilterChain apiSecurityFilterChain(@NotNull final HttpSecurity http, @No .requestMatchers(mvc.pattern("/api/restful/authenticate")).permitAll() .requestMatchers(mvc.pattern("/api/restful/users/")).permitAll() .requestMatchers(mvc.pattern("/api/restful/app/config")).permitAll() + .requestMatchers(mvc.pattern("/api/restful/maps/*/metadata")).permitAll() .requestMatchers(mvc.pattern("/api/restful/maps/*/document/xml-pub")).permitAll() .requestMatchers(mvc.pattern("/api/restful/users/resetPassword")).permitAll() .requestMatchers(mvc.pattern("/api/restful/oauth2/googlecallback")).permitAll()