From 5ca558bfa79082b15cf9ed11847eb75de4e04e2f Mon Sep 17 00:00:00 2001 From: Vladysl <45620393+Vladysl@users.noreply.github.com> Date: Tue, 28 May 2024 15:14:05 +0300 Subject: [PATCH] 1673 - /ingestion/datasources is also should be whitelisted, because collector using this endpoint to create datasource. (#1674) --- .../oddplatform/config/LoginFormSecurityConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odd-platform-api/src/main/java/org/opendatadiscovery/oddplatform/config/LoginFormSecurityConfiguration.java b/odd-platform-api/src/main/java/org/opendatadiscovery/oddplatform/config/LoginFormSecurityConfiguration.java index a5855e88b..cefcc37ad 100644 --- a/odd-platform-api/src/main/java/org/opendatadiscovery/oddplatform/config/LoginFormSecurityConfiguration.java +++ b/odd-platform-api/src/main/java/org/opendatadiscovery/oddplatform/config/LoginFormSecurityConfiguration.java @@ -47,7 +47,7 @@ public SecurityWebFilterChain securityWebFilterChainLoginForm( : new RedirectServerAuthenticationSuccessHandler("/"); final String[] permittedPaths = new String[] { - "/actuator/health", "/favicon.ico", "/ingestion/entities", "/api/slack/events" + "/actuator/health", "/favicon.ico", "/ingestion/entities", "/ingestion/datasources", "/api/slack/events" }; final ServerHttpSecurity sec = http