From ea3ff3b00e7afe5ea7d8f5baabe2091e5abff34a Mon Sep 17 00:00:00 2001 From: James Harton Date: Thu, 28 Mar 2024 15:05:25 +1300 Subject: [PATCH] fix(Jwt): Ignore pre-release versions verifying token versions. --- lib/ash_authentication/jwt/config.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ash_authentication/jwt/config.ex b/lib/ash_authentication/jwt/config.ex index e22a12e..e67fc9c 100644 --- a/lib/ash_authentication/jwt/config.ex +++ b/lib/ash_authentication/jwt/config.ex @@ -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(