mirror of
https://github.com/keycloak/keycloak.git
synced 2025-12-19 05:20:21 -06:00
Compilation failure in OID4VCTimeNormalizationSdJwtTest
closes #44419 Signed-off-by: mposolda <mposolda@gmail.com>
This commit is contained in:
@@ -92,7 +92,7 @@ public class OID4VCTimeNormalizationSdJwtTest extends OID4VCSdJwtIssuingEndpoint
|
|||||||
|
|
||||||
// Parse SD-JWT and check iat rounding (multiple of 86400)
|
// Parse SD-JWT and check iat rounding (multiple of 86400)
|
||||||
SdJwtVP sdJwtVP = SdJwtVP.of(credentialResponse.getCredentials().get(0).getCredential().toString());
|
SdJwtVP sdJwtVP = SdJwtVP.of(credentialResponse.getCredentials().get(0).getCredential().toString());
|
||||||
JsonWebToken jwt = TokenVerifier.create(sdJwtVP.getIssuerSignedJWT().toJws(), JsonWebToken.class).getToken();
|
JsonWebToken jwt = TokenVerifier.create(sdJwtVP.getIssuerSignedJWT().getJws(), JsonWebToken.class).getToken();
|
||||||
Long iat = jwt.getIat();
|
Long iat = jwt.getIat();
|
||||||
assertNotNull(iat);
|
assertNotNull(iat);
|
||||||
assertEquals(0, iat % 86400);
|
assertEquals(0, iat % 86400);
|
||||||
|
|||||||
Reference in New Issue
Block a user