Skip to content

Commit

Permalink
Add in info dump
Browse files Browse the repository at this point in the history
  • Loading branch information
0kl-usds committed Dec 6, 2024
1 parent 4b8de74 commit cca199f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/auth/loginGov.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ const logoutObject: { issuer: Issuer<Client> | null } = { issuer: null };
async function generateStrategy() {
const userService = new UserService();
const secretKey = openIdConfig.secretKey;
logger.info(JSON.stringify(openIdConfig));
const [key, issuer] = await Promise.all([jose.JWK.asKey(secretKey, 'pem'), Issuer.discover(openIdConfig.issuerDiscover)]);
logger.info(`Key successfully read`);

logoutObject.issuer = issuer;
logger.info(`OpenId Issuer set to ${issuer.issuer}`);

Expand Down

0 comments on commit cca199f

Please sign in to comment.