Skip to content

Commit

Permalink
Fix auth0 helper
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfisher committed Nov 24, 2024
1 parent f509624 commit 18945bd
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/integrations/auth0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,9 @@ export async function handleAuth0ContinuePostLogin(event: any, api: any, options
const authsignal = new Authsignal({apiSecretKey, apiUrl});

const result = await authsignal.validateChallenge({
attributes: {
token: event.request.query?.["token"],
action,
userId,
},
token: event.request.query?.["token"],
action,
userId,
});

if (result.action !== action || result.state !== UserActionState.CHALLENGE_SUCCEEDED) {
Expand Down

0 comments on commit 18945bd

Please sign in to comment.