From cef93ec1c167e795233f413c5311d2b790a1bcb1 Mon Sep 17 00:00:00 2001 From: ase-101 Date: Thu, 16 May 2024 23:05:06 +0530 Subject: [PATCH] ES-1101 (#703) Signed-off-by: ase-101 --- .../main/java/io/mosip/esignet/services/TokenServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/oidc-service-impl/src/main/java/io/mosip/esignet/services/TokenServiceImpl.java b/oidc-service-impl/src/main/java/io/mosip/esignet/services/TokenServiceImpl.java index 49cb70747..5771f7f4f 100644 --- a/oidc-service-impl/src/main/java/io/mosip/esignet/services/TokenServiceImpl.java +++ b/oidc-service-impl/src/main/java/io/mosip/esignet/services/TokenServiceImpl.java @@ -100,8 +100,7 @@ public String getIDToken(@NonNull OIDCTransaction transaction) { @Override public String getIDToken(@NonNull String subject, @NonNull String audience, int validitySeconds, @NonNull OIDCTransaction transaction) { - JSONObject payload = buildIDToken(transaction.getPartnerSpecificUserToken(), - transaction.getClientId(), validitySeconds, transaction); + JSONObject payload = buildIDToken(subject, transaction.getClientId(), validitySeconds, transaction); return getSignedJWT(Constants.OIDC_SERVICE_APP_ID, payload); }