Added auto admin creation and oidc draft for listmonk

This commit is contained in:
2025-04-22 16:01:47 +02:00
parent 3653b3111a
commit 965af4fbaa
2 changed files with 19 additions and 1 deletions

View File

@@ -1 +1,17 @@
TZ=Etc/UTC
TZ=Etc/UTC
# Administrator setup
LISTMONK_ADMIN_USER={{users.administrator.username}}
LISTMONK_ADMIN_PASSWORD={{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 %}