From c789299b60eb48915686be721fc0e9a588ef9bbc Mon Sep 17 00:00:00 2001 From: Stephen Crawford Date: Wed, 7 Aug 2024 16:57:11 -0400 Subject: [PATCH] Add Proxy Auth to Multi Auth Options Signed-off-by: Stephen Crawford --- test/jest_integration/proxy_auth.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/jest_integration/proxy_auth.test.ts b/test/jest_integration/proxy_auth.test.ts index 60faa65e..2b6aae08 100644 --- a/test/jest_integration/proxy_auth.test.ts +++ b/test/jest_integration/proxy_auth.test.ts @@ -35,12 +35,16 @@ describe('start OpenSearch Dashboards server', () => { beforeAll(async () => { root = osdTestServer.createRootWithSettings( { + server: { + xsrf: { + disableProtection: true, + }, + }, plugins: { scanDirs: [resolve(__dirname, '../..')], }, opensearch: { hosts: ['https://localhost:9200'], - xsrf: { disableProtection: true }, ignoreVersionMismatch: true, ssl: { verificationMode: 'none' }, username: OPENSEARCH_DASHBOARDS_SERVER_USER,