test(AshAuthentication): updated tests for signed in user and added test for authcontroller
This commit is contained in:
parent
c7b13c0ecb
commit
fba9abc2c1
8 changed files with 116 additions and 2 deletions
|
|
@ -19,10 +19,17 @@ defmodule Mv.Accounts.User do
|
|||
Currently password and SSO with Rauthy as OIDC provider
|
||||
"""
|
||||
authentication do
|
||||
session_identifier Application.get_env(:mv, :session_identifier)
|
||||
|
||||
tokens do
|
||||
enabled? true
|
||||
token_resource Mv.Accounts.Token
|
||||
require_token_presence_for_authentication? true
|
||||
|
||||
require_token_presence_for_authentication? Application.get_env(
|
||||
:mv,
|
||||
:require_token_presence_for_authentication
|
||||
)
|
||||
|
||||
store_all_tokens? true
|
||||
|
||||
# signing_algorithm "EdDSA" -> https://git.local-it.org/local-it/mitgliederverwaltung/issues/87
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue