Skip to content

Commit dd9d049

Browse files
authored
feat(jans-auth-server): renamed "code"->"random" uniqueness claims of id_token to avoid confusion with Authorization Code Flow #3466 (#3467)
1 parent f0e98e8 commit dd9d049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jans-auth-server/server/src/main/java/io/jans/as/server/model/token/IdTokenFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ private void fillClaims(JsonWebResponse jwr,
142142

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

147147
if (executionContext.getPreProcessing() != null) {
148148
executionContext.getPreProcessing().apply(jwr);

0 commit comments

Comments
 (0)