Skip to content

Commit

Permalink
Extend jwt iat window (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillPamPam authored May 27, 2024
1 parent 2e28d72 commit 8e3b4e1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ abstract class AuthProcessor(
.withClaim(RegisteredClaims.ISSUED_AT) { claim, _ ->
claim.asInstant().plus(1, ChronoUnit.MINUTES).isAfter(Instant.now())
}
.acceptIssuedAt(60)
.build()
verifier.verify(token)
} catch (e: Exception) {
Expand Down

0 comments on commit 8e3b4e1

Please sign in to comment.