From e0f138b8c1c2765ec5141ee844e9b53b966a76e5 Mon Sep 17 00:00:00 2001 From: Kristijan Mitrovic Date: Thu, 2 Jul 2020 12:35:27 +0200 Subject: [PATCH] Add auth/ready ep in skip auth for restore node --- bubble-server/src/main/java/bubble/auth/BubbleAuthFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bubble-server/src/main/java/bubble/auth/BubbleAuthFilter.java b/bubble-server/src/main/java/bubble/auth/BubbleAuthFilter.java index e3e98dc5..a083b1bf 100644 --- a/bubble-server/src/main/java/bubble/auth/BubbleAuthFilter.java +++ b/bubble-server/src/main/java/bubble/auth/BubbleAuthFilter.java @@ -37,7 +37,7 @@ public class BubbleAuthFilter extends AuthFilter { public static final Set SKIP_AUTH_PATHS = new SingletonSet<>(AUTH_ENDPOINT); public static final Set SKIP_ALL_AUTH = new SingletonSet<>("/"); public static final Set SKIP_AUTH_RESTORE = new HashSet<>(Arrays.asList(new String[] { - AUTH_ENDPOINT + EP_RESTORE + "/", AUTH_ENDPOINT + EP_CONFIGS, + AUTH_ENDPOINT + EP_RESTORE + "/", AUTH_ENDPOINT + EP_CONFIGS, AUTH_ENDPOINT + EP_READY, BUBBLE_MAGIC_ENDPOINT, NOTIFY_ENDPOINT, MESSAGES_ENDPOINT })); public static final Set SKIP_AUTH_TEST = new HashSet<>(Arrays.asList(ArrayUtil.append(SKIP_AUTH_PREFIXES.toArray(new String[0]),