Skip to content

Commit

Permalink
Fix issue with Keycloak IDP nonce mismatch (#67)
Browse files Browse the repository at this point in the history
* Fix issue with Keycloak IDP nonce mismatch

* Use usersession note instead

---------

Co-authored-by: Nadeem Majumder <[email protected]>
  • Loading branch information
tfcornerstone and Nadeem Majumder authored Feb 5, 2024
1 parent e37a9e6 commit e310248
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public Response handleToken(
}
if (token.getNonce() != null) {
authSession.setClientNote(OIDCLoginProtocol.NONCE_PARAM, token.getNonce());
authSession.setUserSessionNote(OIDCLoginProtocol.NONCE_PARAM, token.getNonce());
}
}

Expand Down

0 comments on commit e310248

Please sign in to comment.