From d8abd1d60c5d9585f8cc13fe8273bb1c7bccac5a Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Thu, 14 Mar 2024 15:35:28 -0400 Subject: [PATCH] make GET /projects endpoint public --- src/proxy_auth_v2.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/proxy_auth_v2.lua b/src/proxy_auth_v2.lua index dbefcc4..147b97c 100644 --- a/src/proxy_auth_v2.lua +++ b/src/proxy_auth_v2.lua @@ -51,6 +51,7 @@ local uri = ngx.var.uri -- post-rewrite URI if req_method == "GET" and ( uri == "/service-info" or + req_uri == "/api/metadata/api/projects" or req_uri == "/api/metadata/api/public" or req_uri == "/api/metadata/api/public_overview" or req_uri == "/api/metadata/api/public_search_fields" or