Commit initial

This commit is contained in:
Navas 2022-05-30 19:02:22 +02:00
parent 622cf469fe
commit e90a211f64
2 changed files with 6 additions and 6 deletions

View file

@ -4,11 +4,11 @@ docker_mastodon_mail_smtp_port: 587
docker_mastodon_mail_smtp_login: "" docker_mastodon_mail_smtp_login: ""
docker_mastodon_mail_smtp_password: "" docker_mastodon_mail_smtp_password: ""
docker_mastodon_oidc_enabled: "false" docker_mastodon_oidc_enabled: false
docker_mastodon_oidc_discovery: "true" docker_mastodon_oidc_discovery: true
docker_mastodon_oidc_scopes: "openid,profile" docker_mastodon_oidc_scopes: "openid,profile"
docker_mastodon_oidc_uid_field: uid docker_mastodon_oidc_uid_field: uid
docker_mastodon_oidc_security_assume_email_is_verified: "true" docker_mastodon_oidc_security_assume_email_is_verified: true
docker_mastodon_oidc_redirect_uri: https://{{ docker_mastodon_fqdn }}/auth/auth/openid_connect/callback docker_mastodon_oidc_redirect_uri: https://{{ docker_mastodon_fqdn }}/auth/auth/openid_connect/callback

View file

@ -63,14 +63,14 @@ S3_ALIAS_HOST=files.example.com
{% if docker_mastodon_oidc_enabled is true %} {% if docker_mastodon_oidc_enabled is true %}
# OpenID Connect configuration # OpenID Connect configuration
# -------------------------- # --------------------------
OIDC_ENABLED={{ docker_mastodon_oidc_enabled }} OIDC_ENABLED={{ docker_mastodon_oidc_enabled|string|lower }}
OIDC_DISPLAY_NAME={{ docker_mastodon_oidc_display_name }} OIDC_DISPLAY_NAME={{ docker_mastodon_oidc_display_name }}
OIDC_ISSUER={{ docker_mastodon_oidc_issuer }} OIDC_ISSUER={{ docker_mastodon_oidc_issuer }}
OIDC_DISCOVERY={{ docker_mastodon_oidc_discovery }} OIDC_DISCOVERY={{ docker_mastodon_oidc_discovery|string|lower }}
OIDC_SCOPE="{{ docker_mastodon_oidc_scopes }}" OIDC_SCOPE="{{ docker_mastodon_oidc_scopes }}"
OIDC_UID_FIELD={{ docker_mastodon_oidc_uid_field }} OIDC_UID_FIELD={{ docker_mastodon_oidc_uid_field }}
OIDC_CLIENT_ID={{ docker_mastodon_oidc_client_id }} OIDC_CLIENT_ID={{ docker_mastodon_oidc_client_id }}
OIDC_CLIENT_SECRET={{ docker_mastodon_oidc_client_secret }} OIDC_CLIENT_SECRET={{ docker_mastodon_oidc_client_secret }}
OIDC_REDIRECT_URI={{ docker_mastodon_oidc_redirect_uri }} OIDC_REDIRECT_URI={{ docker_mastodon_oidc_redirect_uri }}
OIDC_SECURITY_ASSUME_EMAIL_IS_VERIFIED={{ docker_mastodon_oidc_security_assume_email_is_verified }} OIDC_SECURITY_ASSUME_EMAIL_IS_VERIFIED={{ docker_mastodon_oidc_security_assume_email_is_verified|string|lower }}
{% endif %} {% endif %}