Skip to content

Commit

Permalink
feat(jans-auth-server): renamed "code"->"random" uniqueness claims of…
Browse files Browse the repository at this point in the history
… id_token to avoid confusion with Authorization Code Flow #3466
  • Loading branch information
yuriyz committed Dec 30, 2022
1 parent f0e98e8 commit 3950f0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private void fillClaims(JsonWebResponse jwr,

jwr.getClaims().setExpirationTime(expiration);
jwr.getClaims().setIssuedAt(issuedAt);
jwr.setClaim("code", UUID.randomUUID().toString());
jwr.setClaim("random", UUID.randomUUID().toString()); // provided uniqueness of id_token for same RP requests, oxauth: 1493

if (executionContext.getPreProcessing() != null) {
executionContext.getPreProcessing().apply(jwr);
Expand Down

0 comments on commit 3950f0c

Please sign in to comment.