auth: serialize exp and iat claims as NumericDate to comply with RFC7519 (#1289)

Add `jti` claim to the JWT to avoid hashing collisions
This commit is contained in:
psentee
2025-09-15 17:24:59 +02:00
committed by GitHub
parent 85ce481e32
commit 4590463cdf
5 changed files with 78 additions and 24 deletions
+1
View File
@@ -24,6 +24,7 @@ generic-array = "0.14"
rand = "0.8"
sha2 = "0.9"
thiserror = "2"
uuid = { version = "1.18.1", features = ["serde"] }
[dependencies.derive_more]
features = ["debug", "display"]