Skip to content

Commit

Permalink
Fix consent revocation issue when iat is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
Akila94 committed Nov 6, 2024
1 parent 8972701 commit ccfc67e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,9 @@ private boolean checkJTIValidityPeriod(String jti, long jwtExpiryTimeMillis, lon
}

private void persistJWTID(final String jti, long expiryTime, long issuedTime) throws OAuthClientAuthnException {

if (issuedTime == 0) {
issuedTime = System.currentTimeMillis();
}
jwtStorageManager.persistJWTIdInDB(jti, expiryTime, issuedTime);
}

Expand Down

0 comments on commit ccfc67e

Please sign in to comment.