Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ private void handleTokenValidation(AuthenticationFlowContext context, Authsignal
}
context.setUser(user);
context.success();
} else if (response.state == UserActionState.CHALLENGE_REQUIRED) {
// User quit the MFA flow without completing the challenge
// This means they clicked "Quit" on the AuthSignal page
context.resetFlow();
} else {
context.failure(AuthenticationFlowError.ACCESS_DENIED);
}
Expand Down
Loading