Skip to content

Commit

Permalink
chore: add more public URLs for Katsu
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Aug 7, 2024
1 parent da22a6e commit 75902b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/proxy_auth_v2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ if req_method == "GET" and (
req_uri_no_qp == "/api/metadata/api/public_overview" or
req_uri_no_qp == "/api/metadata/api/public_search_fields" or
req_uri_no_qp == "/api/metadata/api/public_dataset" or
req_uri_no_qp == "/api/metadata/api/public_rules"
req_uri_no_qp == "/api/metadata/api/public_rules" or
req_uri_no_qp == "/api/metadata/api/extra_properties_schema_types" or
req_uri_no_qp:sub(1, 26) == "/api/metadata/api/schemas/"
) then
-- Clear possible Katsu authorization injections for old remote user middleware
ngx.req.clear_header("X-User")
Expand Down

0 comments on commit 75902b0

Please sign in to comment.