From 60947f4c26da01a75817cd251adf788f7cde25cb Mon Sep 17 00:00:00 2001 From: Vijay Budhram Date: Wed, 30 Sep 2026 06:57:44 -0400 Subject: [PATCH] fix(auth-server): set SESSION_TOKEN_HANDLE_KEY in prod jwksUri config tests Because: - The FXA-14056 cherry-pick added sessionTokenHandle.key to SECRET_SETTINGS, so the prod jwksUri tests failed on the secret check before the jwksUri check. This commit: - Sets SESSION_TOKEN_HANDLE_KEY in the GOOGLE/APPLE_AUTH_JWKS_URI prod config tests. (cherry picked from commit f07b13497b11a6e7fa719f8d7c718dc1cc3733f6) --- packages/fxa-auth-server/config/index.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/fxa-auth-server/config/index.spec.ts b/packages/fxa-auth-server/config/index.spec.ts index 8e3c8c0cda2..222bfe08b24 100644 --- a/packages/fxa-auth-server/config/index.spec.ts +++ b/packages/fxa-auth-server/config/index.spec.ts @@ -55,6 +55,7 @@ describe('Config', () => { 'PROFILE_SERVER_AUTH_SECRET_BEARER_TOKEN', 'production secret here' ); + mockEnv('SESSION_TOKEN_HANDLE_KEY', 'production secret here'); mockEnv(envVar, 'http://localhost:9300/jwks'); expect(() => { require('./index');