Skip to content

Commit

Permalink
try parsing state on passive login fail to get redirectPage
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Aug 28, 2023
1 parent 32ef091 commit a5bf9d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void exchangeCodeForToken() throws IOException {
}
// Passive Login attempt check
if (isPassiveLoginFailure(req)) {

parseStateFromRequest(req.getParameter("state"));
logger.info("Failed passive");
Faces.redirect(redirectPage.orElse("/"));
} else {
Expand Down

0 comments on commit a5bf9d0

Please sign in to comment.