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 (#3467)
  • Loading branch information
yuriyz authored Dec 30, 2022
1 parent f0e98e8 commit dd9d049
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 dd9d049

Please sign in to comment.