diff --git a/src/clj_jwt/core.clj b/src/clj_jwt/core.clj index 02769bd..68ec02b 100644 --- a/src/clj_jwt/core.clj +++ b/src/clj_jwt/core.clj @@ -28,7 +28,7 @@ (extend-protocol JsonWebToken JWT (init [this claims] - (let [claims (reduce #(update-map % %2 to-intdate) claims [:exp :nbf :iot])] + (let [claims (reduce #(update-map % %2 to-intdate) claims [:exp :nbf :iat])] (assoc this :header {:alg "none" :typ "JWT"} :claims claims :signature ""))) (encoded-header [this]