Skip to content

Commit

Permalink
refactor(model-server): use the default leeway for JWT verification, …
Browse files Browse the repository at this point in the history
  • Loading branch information
odzhychko committed Sep 27, 2024
1 parent b08d14a commit 026cd78
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,5 +221,4 @@ private fun getBooleanFromEnv(name: String): Boolean? {

internal fun getVerifierForSpecificAlgorithm(algorithm: Algorithm): JWTVerifier =
JWT.require(algorithm)
.acceptLeeway(0L)
.build()

0 comments on commit 026cd78

Please sign in to comment.