From bdc250f2d66fd0bd304a938aed569db2d2121235 Mon Sep 17 00:00:00 2001 From: carla Date: Wed, 2 Jul 2025 12:35:43 +0200 Subject: [PATCH] fix: session_identifier must be :jti --- config/dev.exs | 2 +- config/runtime.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/dev.exs b/config/dev.exs index a90ac0d..17b4ce1 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -97,6 +97,6 @@ config :mv, :rauthy, redirect_uri: "http://localhost:4000/auth/user/rauthy/callback" # AshAuthentication development configuration -config :mv, :session_identifier, nil +config :mv, :session_identifier, :jti config :mv, :require_token_presence_for_authentication, true diff --git a/config/runtime.exs b/config/runtime.exs index 0ce1643..e8ab249 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -56,7 +56,7 @@ if config_env() == :prod do config :mv, :rauthy, redirect_uri: "http://localhost:4000/auth/user/rauthy/callback" # AshAuthentication production configuration - config :mv, :session_identifier, nil + config :mv, :session_identifier, :jti config :mv, :require_token_presence_for_authentication, true