diff options
author | Jordan Bracco <href@random.sh> | 2021-09-03 22:47:55 +0200 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2021-09-03 22:47:55 +0200 |
commit | 023fcf384bc89b861f51c81a20a5aefea8afe772 (patch) | |
tree | 52c8aa95835acea5fbcb664d8e3f92c4e1e90316 /config | |
parent | various small fixes (diff) |
Diffstat (limited to 'config')
-rw-r--r-- | config/sys.config | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/config/sys.config b/config/sys.config index 60a32cb..4c51865 100644 --- a/config/sys.config +++ b/config/sys.config @@ -1,6 +1,15 @@ [ {kernel, [{logger_level, debug}]}, - {styx, []}, + {styx, [ + {openid_userinfo_mapper, #{ + <<"default">> => #{ + <<"preferred_username">> => <<"username">>, + <<"email">> => <<"email">>, + <<"given_name">> => [<<"name">>, <<"first">>], + <<"family_name">> => [<<"name">>, <<"last">>] + } + }} + ]}, {ory, [ {kratos_url, <<"http://127.0.0.1:4433">>}, {kratos_admin_url, <<"http://127.0.0.1:4434">>}, |