diff --git a/esignet-service/src/main/resources/application-default.properties b/esignet-service/src/main/resources/application-default.properties index d60cfaa63..57ecd3fa5 100644 --- a/esignet-service/src/main/resources/application-default.properties +++ b/esignet-service/src/main/resources/application-default.properties @@ -423,4 +423,6 @@ mosip.esignet.ui.config.key-values={'sbi.env': '${mosip.esignet.authenticator.id #mosip.esignet.integration.audit-plugin=LoggerAuditService #mosip.esignet.integration.key-binder=NoOpKeyBinder -mosip.esignet.jwt.leeway-seconds=5 \ No newline at end of file + +# leeway given in verfication of client assertion: exp and nbf field +mosip.esignet.client-assertion-jwt.leeway-seconds=5 \ No newline at end of file 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 e68993aef..8bb882266 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 @@ -76,7 +76,7 @@ public class TokenServiceImpl implements TokenService { @Value("#{${mosip.esignet.credential.scope-resource-mapping}}") private Map scopesResourceMapping; - @Value("${mosip.esignet.jwt.leeway-seconds:5}") + @Value("${mosip.esignet.client-assertion-jwt.leeway-seconds:5}") private int maxClockSkew; private static Set REQUIRED_CLIENT_ASSERTION_CLAIMS;