From 71306a2cd14e8affd914568e0472a006b6fc523c Mon Sep 17 00:00:00 2001 From: Bltzz Date: Tue, 22 Oct 2024 23:00:59 +0200 Subject: [PATCH] ffs --- paperless/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paperless/init.sls b/paperless/init.sls index b3d25e4..ee34835 100644 --- a/paperless/init.sls +++ b/paperless/init.sls @@ -1,7 +1,7 @@ # Attempt to fix json with pillar variables in variable {% set client_secret = salt['pillar.get']('paperless:webserver:keycloak:client_secret', '') %} {% set oauth_server = salt['pillar.get']('paperless:webserver:keycloak:server_url', 'https:///realms//.well-known/openid-configuration') %} -{% set PAPERLESS_SOCIALACCOUNT_PROVIDERS_ = {'openid_connect': {'APPS': [{'provider_id': 'keycloak', 'name': 'Keycloak', 'client_id': 'paperless', 'secret': client_secret, 'settings': {'server_url': oauth_server} }]} }|tojson %} +{% set PAPERLESS_SOCIALACCOUNT_PROVIDERS_ = {'openid_connect':{'APPS':[{'provider_id': 'keycloak', 'name': 'Keycloak', 'client_id': 'paperless', 'secret': client_secret, 'settings':{'server_url': oauth_server}}]}}|tojson%} broker-data-directory-exists: file.directory: