fix(Jwt): Ignore pre-release versions verifying token versions.

This commit is contained in:
James Harton 2024-03-28 15:05:25 +13:00
parent f0075e2cd3
commit ea3ff3b00e
Signed by: james
GPG key ID: 90E82DAA13F624F4

View file

@ -30,6 +30,7 @@ defmodule AshAuthentication.Jwt.Config do
vsn
|> to_string()
|> Version.parse!()
|> then(&%{&1 | pre: []})
Config.default_claims(default_exp: token_lifetime)
|> Config.add_claim(