From dfacaf791f2cbcb0254bb3f2c6722784d4f3a283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Fra=C3=9F?= Date: Thu, 21 Mar 2024 23:44:26 +0100 Subject: [PATCH] [fix] role:authelia-for-dokuwiki --- .../templates/authelia-client-conf.json.j2 | 27 +++++-------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/ansible/roles/authelia-for-dokuwiki/templates/authelia-client-conf.json.j2 b/ansible/roles/authelia-for-dokuwiki/templates/authelia-client-conf.json.j2 index 6d8dc0f..e5450b2 100644 --- a/ansible/roles/authelia-for-dokuwiki/templates/authelia-client-conf.json.j2 +++ b/ansible/roles/authelia-for-dokuwiki/templates/authelia-client-conf.json.j2 @@ -1,29 +1,16 @@ { - "id": "{{var_authelia_for_dokuwiki_client_id}}", - "description": "DokuWiki", - "secret": "{{var_authelia_for_dokuwiki_client_secret}}", + "client_id": "{{var_authelia_for_dokuwiki_client_id}}", + "client_secret": "{{var_authelia_for_dokuwiki_client_secret}}", + "client_name": "DokuWiki", "public": false, "authorization_policy": "one_factor", + "redirect_uris": [ + "{{var_authelia_for_dokuwiki_dokuwiki_url_base}}/doku.php" + ], "scopes": [ "openid", "email", "profile", "groups" - ], - "redirect_uris": [ - "{{var_authelia_for_dokuwiki_dokuwiki_url_base}}/doku.php" - ], - "grant_types": [ - "refresh_token", - "authorization_code" - ], - "response_types": [ - "code" - ], - "response_modes": [ - "form_post", - "query", - "fragment" - ], - "userinfo_signing_algorithm": "none" + ] }