[task-183] [mod] authelia-for-zeitbild_backend
This commit is contained in:
parent
10b4edddb0
commit
2cbc596566
2 changed files with 12 additions and 4 deletions
|
@ -1,10 +1,18 @@
|
|||
[
|
||||
{
|
||||
"name": "configuration | compute client secret hash",
|
||||
"become": true,
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "authelia crypto hash generate bcrypt --password {{var_authelia_for_zeitbild_backend_client_secret}} | cut --delimiter=' ' --fields='2-'"
|
||||
},
|
||||
"register": "temp_authelia_for_zeitbild_backend_client_secret_hashed"
|
||||
},
|
||||
{
|
||||
"name": "configuration | emplace",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "authelia-client-conf.json.j2",
|
||||
"dest": "/etc/authelia/conf.d/clients/zeitbild_backend.json"
|
||||
"dest": "/etc/authelia/conf.d/clients/zeitbild.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"client_id": "{{var_authelia_for_zeitbild_backend_client_id}}",
|
||||
"client_secret": "{{var_authelia_for_zeitbild_backend_client_secret}}",
|
||||
"client_name": "Forgejo",
|
||||
"client_secret": "{{temp_authelia_for_zeitbild_backend_client_secret_hashed.stdout}}",
|
||||
"client_name": "Zeitbild",
|
||||
"public": false,
|
||||
"authorization_policy": "one_factor",
|
||||
"redirect_uris": [
|
||||
"{{var_authelia_for_zeitbild_backend_zeitbild_backend_url_base}}/user/oauth2/authelia/callback"
|
||||
"{{var_authelia_for_zeitbild_backend_zeitbild_backend_url_base}}/session/oidc"
|
||||
],
|
||||
"scopes": [
|
||||
"openid",
|
||||
|
|
Loading…
Add table
Reference in a new issue