diff --git a/lib/accounts/user.ex b/lib/accounts/user.ex index 15e3a22..0de4a38 100644 --- a/lib/accounts/user.ex +++ b/lib/accounts/user.ex @@ -19,15 +19,16 @@ defmodule Mv.Accounts.User do Currently password and SSO with Rauthy as OIDC provider """ authentication do - session_identifier Application.get_env(:mv, :session_identifier) + session_identifier Application.compile_env(:mv, :session_identifier, :jti) tokens do enabled? true token_resource Mv.Accounts.Token - require_token_presence_for_authentication? Application.get_env( + require_token_presence_for_authentication? Application.compile_env( :mv, - :require_token_presence_for_authentication + :require_token_presence_for_authentication, + false ) store_all_tokens? true