From cc46adb6fd3bfbd62a087802ff2c8a1dd6128679 Mon Sep 17 00:00:00 2001 From: Ludwig Bedacht Date: Tue, 14 Jan 2025 00:14:10 +0100 Subject: [PATCH] chore: update config schema and test --- router/pkg/config/fixtures/full.yaml | 2 +- router/pkg/config/testdata/config_full.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/router/pkg/config/fixtures/full.yaml b/router/pkg/config/fixtures/full.yaml index 17b5621cfb..70e48b4b72 100644 --- a/router/pkg/config/fixtures/full.yaml +++ b/router/pkg/config/fixtures/full.yaml @@ -225,7 +225,7 @@ authentication: - type: header name: X-Authorization value_prefix: Bearer - - type: cookie + - type: header name: authz authorization: diff --git a/router/pkg/config/testdata/config_full.json b/router/pkg/config/testdata/config_full.json index c6d09482de..046e634693 100644 --- a/router/pkg/config/testdata/config_full.json +++ b/router/pkg/config/testdata/config_full.json @@ -367,7 +367,7 @@ "ValuePrefix": "Bearer" }, { - "Type": "cookie", + "Type": "header", "Name": "authz", "ValuePrefix": "" }