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 11 additions and 1 deletions
Showing only changes of commit 09e667a34d - Show all commits

View file

@ -1,4 +1,14 @@
[
{
"name": "configuration | compute client secret hash",
"become" true,
"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 }}"
}
},
{
"name": "configuration | emplace",
"become": true,

View file

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