Skip to content

Commit

Permalink
fix: potentially fixes invalid_request undefined error
Browse files Browse the repository at this point in the history
  • Loading branch information
marnixdessing committed Apr 19, 2023
1 parent 4251bdb commit 64957b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/auth/auth.lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const OIDC = new OpenIDConnect();
const init = OIDC.init();

exports.handler = async (event: any) => {
await init;
try {
await init;
const params = parseEvent(event);
return await handleRequest(params.cookies, params.code, params.state, dynamoDBClient, OIDC, logsClient);
} catch (err) {
Expand Down

0 comments on commit 64957b0

Please sign in to comment.