From 0e86c1c3dc78f9e206b35b4bc3c0726b801346d5 Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Date: Wed, 13 Mar 2024 14:26:42 -0700 Subject: [PATCH] chore(auth): update tokenOrchestrator unit test exp token --- .../providers/cognito/testUtils/authApiTestParams.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/auth/__tests__/providers/cognito/testUtils/authApiTestParams.ts b/packages/auth/__tests__/providers/cognito/testUtils/authApiTestParams.ts index aaf11d8ee08..373dae101af 100644 --- a/packages/auth/__tests__/providers/cognito/testUtils/authApiTestParams.ts +++ b/packages/auth/__tests__/providers/cognito/testUtils/authApiTestParams.ts @@ -148,10 +148,10 @@ export const authAPITestParams = { // Test values ValidAuthTokens: { idToken: decodeJWT( - 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIHRoZSBzZWNvbmQiLCJpYXQiOjE1MTYyMzkwMjIsImlzcyI6Imh0dHBzOi8vdGVzdC5jb20iLCJleHAiOjE3MTAyOTMxMzB9.kpvsHfKH4JvCecECmb26Pl6HaedVX7PNiiF_8AlAbYc', + 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIHRoZSBzZWNvbmQiLCJpYXQiOjE1MTYyMzkwMjIsImlzcyI6Imh0dHBzOi8vdGVzdC5jb20iLCJleHAiOjMyNTA5ODg0MTk2fQ==.ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnpkV0lpT2lJeE1qTTBOVFkzT0Rrd0lpd2libUZ0WlNJNklrcHZhRzRnUkc5bElIUm9aU0J6WldOdmJtUWlMQ0pwWVhRaU9qRTFNVFl5TXprd01qSXNJbWx6Y3lJNkltaDBkSEJ6T2k4dmRHVnpkQzVqYjIwaUxDSmxlSEFpT2pNeU5UQTVPRGcwTVRrMmZRPT0=', ), accessToken: decodeJWT( - 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIHRoZSBzZWNvbmQiLCJpYXQiOjE1MTYyMzkwMjIsImlzcyI6Imh0dHBzOi8vdGVzdC5jb20iLCJleHAiOjE3MTAyOTMxMzB9.kpvsHfKH4JvCecECmb26Pl6HaedVX7PNiiF_8AlAbYc', + 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIHRoZSBzZWNvbmQiLCJpYXQiOjE1MTYyMzkwMjIsImlzcyI6Imh0dHBzOi8vdGVzdC5jb20iLCJleHAiOjMyNTA5ODg0MTk2fQ==.ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnpkV0lpT2lJeE1qTTBOVFkzT0Rrd0lpd2libUZ0WlNJNklrcHZhRzRnUkc5bElIUm9aU0J6WldOdmJtUWlMQ0pwWVhRaU9qRTFNVFl5TXprd01qSXNJbWx6Y3lJNkltaDBkSEJ6T2k4dmRHVnpkQzVqYjIwaUxDSmxlSEFpT2pNeU5UQTVPRGcwTVRrMmZRPT0=', ), accessTokenExpAt: Date.UTC(2023, 8, 24, 18, 55), clockDrift: undefined, @@ -185,14 +185,14 @@ export const authAPITestParams = { IdentityId: 'identity-id-test', Logins: { 'test.com': - 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIHRoZSBzZWNvbmQiLCJpYXQiOjE1MTYyMzkwMjIsImlzcyI6Imh0dHBzOi8vdGVzdC5jb20iLCJleHAiOjE3MTAyOTMxMzB9.kpvsHfKH4JvCecECmb26Pl6HaedVX7PNiiF_8AlAbYc', + 'eyJhbGci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