Optimized oidc und hcaptcha autosetup für listmonk

This commit is contained in:
2025-04-23 18:08:24 +02:00
parent 3b3ec5196a
commit 6a1be99f1e
4 changed files with 72 additions and 18 deletions

View File

@@ -21,4 +21,4 @@ max_idle = 25
max_lifetime = "300s"
# Optional space separated Postgres DSN params. eg: "application_name=listmonk gssencmode=disable"
params = ""
params = ""

View File

@@ -4,14 +4,3 @@ TZ=Etc/UTC
LISTMONK_ADMIN_USER={{ applications[application_id].users.administrator.username }}
LISTMONK_ADMIN_PASSWORD={{ applications[application_id].users.administrator.password }}
{% if applications[application_id].features.oidc | bool %}
###################################
# OpenID Connect settings
###################################
LISTMONK_security__oidc__enabled=true
LISTMONK_security__oidc__provider_url={{ oidc.client.discovery_document }}
LISTMONK_security__oidc__client_id={{oidc.client.id}}
LISTMONK_security__oidc__client_secret={{oidc.client.secret}}
{% endif %}