Skip to content

Commit

Permalink
Remove iss
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifropc committed Mar 22, 2024
1 parent 4bcb148 commit f0a287c
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ open class DefaultAuthHeaderSigner(val expiration: Duration = 15.minutes) : Auth

fun createBuilder(timeExp: Instant, claims: Map<String, String>): JwtBuilder {
return Jwts.builder()
.id(UUID.randomUUID().toString())
.issuedAt(Date.from(Instant.now()))
.expiration(Date.from(timeExp))
.also { builder -> claims.forEach { builder.claim(it.key, it.value) } }
Expand Down

0 comments on commit f0a287c

Please sign in to comment.