Skip to content

Commit

Permalink
rename vc claim
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmodamioin2 committed Nov 25, 2024
1 parent 3870150 commit 9a1f78d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private String generateIdToken(Object verifiableCredential, String subject, Stri
.claim("auth_time", Date.from(issueTime))
.claim("acr", "0")
// Here is used in json format string to be able to save the VC in json format as Keycloak user attribute
.claim("vc", verifiableCredentialJson);
.claim("vc_json", verifiableCredentialJson);

// Add each additional claim to the ID token
// Extract additional claims from the verifiable credential
Expand Down

0 comments on commit 9a1f78d

Please sign in to comment.