diff --git a/modules/openid-federation-common/src/jvmMain/kotlin/com/sphereon/oid/fed/common/jwt/JoseJwt.jvm.kt b/modules/openid-federation-common/src/jvmMain/kotlin/com/sphereon/oid/fed/common/jwt/JoseJwt.jvm.kt index 72da1b8f..a5185c1c 100644 --- a/modules/openid-federation-common/src/jvmMain/kotlin/com/sphereon/oid/fed/common/jwt/JoseJwt.jvm.kt +++ b/modules/openid-federation-common/src/jvmMain/kotlin/com/sphereon/oid/fed/common/jwt/JoseJwt.jvm.kt @@ -59,10 +59,6 @@ actual fun generateKeyPair(): JwtWithPrivateKey { .keyIDFromThumbprint(true) .algorithm(Algorithm("EC")) .issueTime(Date()) - .expirationTime(Calendar.getInstance().apply { - time = Date() - add(Calendar.YEAR, 1) - }.time) .generate() return JwtWithPrivateKey(