mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 15:02:05 -03:30
Compilation failure in OID4VCTimeNormalizationSdJwtTest
closes #44419 Signed-off-by: mposolda <mposolda@gmail.com>
This commit is contained in:
parent
8406cf34fb
commit
49b694bf0a
@ -92,7 +92,7 @@ public class OID4VCTimeNormalizationSdJwtTest extends OID4VCSdJwtIssuingEndpoint
|
||||
|
||||
// Parse SD-JWT and check iat rounding (multiple of 86400)
|
||||
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();
|
||||
assertNotNull(iat);
|
||||
assertEquals(0, iat % 86400);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user