Authelia | client-secrets hashen #3

Merged
roydfalk merged 12 commits from dev-authelia_hashed_client_secrets into main 2024-10-26 12:10:57 +02:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit 05d1c0a8c1 - Show all commits

View file

@ -5,9 +5,7 @@
"ansible.builtin.command": {
"cmd": "authelia crypto hash generate bcrypt --password {{var_authelia_for_wiki_js_client_secret}}"
},
"set_fact": {
"temp_authelia_for_wiki_js_client_secret_hashed": "{{ command_output.stdout }}"
}
"register": "temp_authelia_for_wiki_js_client_secret_hashed"
},
{
"name": "configuration | emplace",

View file

@ -1,6 +1,6 @@
{
"client_id": "{{var_authelia_for_wiki_js_client_id}}",
"client_secret": "{{temp_authelia_for_wiki_js_client_secret_hashed}}",
"client_secret": "{{temp_authelia_for_wiki_js_client_secret_hashed.stdout}}",
"client_name": "Wiki.js",
"public": false,
"authorization_policy": "one_factor",