From b4d1ac9a2da364e01d659e611767a0eed719834d Mon Sep 17 00:00:00 2001 From: contraintuitiv Date: Thu, 8 Jan 2026 19:07:17 +0100 Subject: [PATCH] chore: publish 0.4.1+11 release --- .env.sample | 1 + compose.oidc.yml | 2 +- compose.yml | 2 +- release/0.4.1+11 | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 release/0.4.1+11 diff --git a/.env.sample b/.env.sample index 875e49a..16ed7df 100644 --- a/.env.sample +++ b/.env.sample @@ -45,6 +45,7 @@ ADMIN_EMAIL=mail@example.com #AUTH_SSO_DEFAULT_ROLE_ID="" #AUTH_SSO_SYNC_USER_INFO="true" #AUTH_SSO_SCOPE="openid profile email" +#AUTH_SSO_ROLE_MAPPING='json:{"sso_role1": "directus-role-uuid","sso_role2": "directus-role-uuid"}' # https://directus.io/docs/configuration/auth-sso # if you need more/other provider(s), consult docs on how to override compose.yml: diff --git a/compose.oidc.yml b/compose.oidc.yml index 71a8284..f3839bf 100644 --- a/compose.oidc.yml +++ b/compose.oidc.yml @@ -14,7 +14,7 @@ services: AUTH_SSO_REQUIRE_VERIFIED_EMAIL: ${AUTH_SSO_REQUIRE_VERIFIED_EMAIL:-false} AUTH_SSO_DEFAULT_ROLE_ID: ${AUTH_SSO_DEFAULT_ROLE_ID} AUTH_SSO_SYNC_USER_INFO: ${AUTH_SSO_SYNC_USER_INFO:-true} - AUTH_SSO_ROLE_MAPPING: ${AUTH_SSO_ROLE_MAPPING:-{}}" + AUTH_SSO_ROLE_MAPPING: ${AUTH_SSO_ROLE_MAPPING} AUTH_SSO_GROUP_CLAIM_NAME: ${AUTH_SSO_GROUP_CLAIM_NAME:-groups} AUTH_SSO_ICON: ${AUTH_SSO_ICON:-account_circle} AUTH_SSO_LABEL: ${AUTH_SSO_LABEL:-"Single Sign On"} diff --git a/compose.yml b/compose.yml index 38d1c1c..5c47e04 100644 --- a/compose.yml +++ b/compose.yml @@ -62,7 +62,7 @@ services: ## Redirect HTTP to HTTPS - "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.permanent=true" - - "coop-cloud.${STACK_NAME}.version=0.4.0+11" + - "coop-cloud.${STACK_NAME}.version=0.4.1+11" healthcheck: test: ["CMD-SHELL", "wget -qO- http://0.0.0.0:8055/server/health | grep -q '\"status\":\"ok\"'"] diff --git a/release/0.4.1+11 b/release/0.4.1+11 new file mode 100644 index 0000000..84ffffa --- /dev/null +++ b/release/0.4.1+11 @@ -0,0 +1 @@ +syntax error in oidc compose when using role_mapping \ No newline at end of file