[java-idp-plugin-vci] 01/02: Get vct from correct source

Codeberg noreply at shibboleth.net
Thu Aug 27 11:49:06 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch fix/SD_PATHS
in repository java-idp-plugin-vci.

View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-vci/commit/089bc15f9a69210d2c4e3e6e53147da13ec07cd5

commit 089bc15f9a69210d2c4e3e6e53147da13ec07cd5
Author: Janne Lauros <janne.lauros at csc.fi>
AuthorDate: Thu Aug 27 14:45:25 2026 +0300

    Get vct from correct source
---
 .../shibboleth/plugin/openidvci/profile/impl/AddCredentialShell.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openid-vci-impl/src/main/java/org/geant/shibboleth/plugin/openidvci/profile/impl/AddCredentialShell.java b/openid-vci-impl/src/main/java/org/geant/shibboleth/plugin/openidvci/profile/impl/AddCredentialShell.java
index 7f8a5cd..8e962c8 100644
--- a/openid-vci-impl/src/main/java/org/geant/shibboleth/plugin/openidvci/profile/impl/AddCredentialShell.java
+++ b/openid-vci-impl/src/main/java/org/geant/shibboleth/plugin/openidvci/profile/impl/AddCredentialShell.java
@@ -260,7 +260,7 @@ public class AddCredentialShell extends AbstractProfileAction {
         shell.setClaim("iat", issuedAt.getEpochSecond());
         shell.setClaim("exp", expiresAt.getEpochSecond());
         if ("dc+sd-jwt".equals(ctx.getCredentialConfiguration().getFormat())) {
-            shell.setClaim("vct", ctx.getCredentialIdentifier());
+            shell.setClaim("vct", ctx.getCredentialConfiguration().getVct());
         }
         if ("vc+sd-jwt".equals(ctx.getCredentialConfiguration().getFormat())) {
             shell.setClaim("validFrom", DateTimeFormatter.ISO_INSTANT.format(issuedAt));

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list