From 18816e8d858d3ba99e46dd59c68f45d5d2dde9d4 Mon Sep 17 00:00:00 2001 From: mo khan Date: Sun, 11 May 2025 16:27:06 -0600 Subject: test: indicate temporary testing routes --- envoy.yml | 8 ++++---- test/integration/container_test.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/envoy.yml b/envoy.yml index edcf5da..da0e46a 100644 --- a/envoy.yml +++ b/envoy.yml @@ -98,10 +98,10 @@ static_resources: pass_through_matcher: - name: ":path" string_match: - prefix: "/.well-known/" + prefix: "/.well-known/" # temporary - name: ":path" string_match: - prefix: "/oauth/" + prefix: "/oauth/" # temporary - name: ":path" string_match: suffix: ".html" @@ -176,13 +176,13 @@ static_resources: domains: ["*"] routes: - match: - prefix: "/.well-known/" + prefix: "/.well-known/" # temporary route: cluster: oidc timeout: 5s auto_host_rewrite: true - match: - prefix: "/oauth/" + prefix: "/oauth/" # temporary route: cluster: oidc timeout: 5s diff --git a/test/integration/container_test.go b/test/integration/container_test.go index 3c0ffaa..becad4a 100644 --- a/test/integration/container_test.go +++ b/test/integration/container_test.go @@ -57,7 +57,7 @@ func TestContainer(t *testing.T) { testcontainers.WithEnv(map[string]string{ "APP_ENV": "test", "BIND_ADDR": ":8080", - "DEBUG": "true", + "DEBUG": env.Fetch("DEBUG", ""), "HMAC_SESSION_SECRET": "secret", "OAUTH_CLIENT_ID": srv.MockOIDC.Config().ClientID, "OAUTH_CLIENT_SECRET": srv.MockOIDC.Config().ClientSecret, -- cgit v1.2.3