From a6019db81745aebc2d768df030baed21510f22b2 Mon Sep 17 00:00:00 2001 From: chrisala Date: Fri, 2 Feb 2024 10:58:40 +1100 Subject: [PATCH] Exclude IP address check from qraphqlWs endpoint #907 --- .../controllers/au/org/ala/ecodata/ApiKeyInterceptor.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/controllers/au/org/ala/ecodata/ApiKeyInterceptor.groovy b/grails-app/controllers/au/org/ala/ecodata/ApiKeyInterceptor.groovy index 625508b6f..3b9e8763a 100644 --- a/grails-app/controllers/au/org/ala/ecodata/ApiKeyInterceptor.groovy +++ b/grails-app/controllers/au/org/ala/ecodata/ApiKeyInterceptor.groovy @@ -21,7 +21,7 @@ class ApiKeyInterceptor { public ApiKeyInterceptor() { // These controllers use JWT authorization instead - matchAll().excludes(controller: 'graphql').excludes(controller: 'paratoo').excludes(controller: 'harvest') + matchAll().excludes(controller: 'graphql').excludes(controller: 'paratoo').excludes(controller: 'harvest').excludes('graphqlWs') } boolean before() {