From ca1a2bf3fd4a6459b46a25934d94b7a90f95efb3 Mon Sep 17 00:00:00 2001 From: Kelvin Luu <51680299+0kl-usds@users.noreply.github.com> Date: Fri, 6 Dec 2024 13:16:09 -0800 Subject: [PATCH] Debug: Move log line up --- api/src/auth/loginGov.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/auth/loginGov.ts b/api/src/auth/loginGov.ts index 05ccf61..e2a4591 100644 --- a/api/src/auth/loginGov.ts +++ b/api/src/auth/loginGov.ts @@ -16,10 +16,10 @@ async function generateStrategy() { logger.info(JSON.stringify(openIdConfig)) logger.info(JSON.stringify(jose.JWK.asKey(secretKey, 'pem'))); const issuer = await Issuer.discover(openIdConfig.issuerDiscover) + logger.info(`OpenId Issuer set to ${issuer.issuer}`); const key = await jose.JWK.asKey(secretKey, 'pem'); logger.info(`Key successfully read`); logoutObject.issuer = issuer; - logger.info(`OpenId Issuer set to ${issuer.issuer}`); const clientOptions: ClientMetadata = { client_id: openIdConfig.clientId,