From ce6ba583be15414d7541867e96b627fcdd3f9043 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 27 Oct 2023 15:26:39 +0200 Subject: OIDC_SCOPES compatibility colon (#5753) fix https://github.com/FreshRSS/FreshRSS/issues/5744 --- Docker/entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Docker') diff --git a/Docker/entrypoint.sh b/Docker/entrypoint.sh index 958fb4b40..920fb2200 100755 --- a/Docker/entrypoint.sh +++ b/Docker/entrypoint.sh @@ -23,6 +23,11 @@ fi if [ -n "$OIDC_ENABLED" ] && [ "$OIDC_ENABLED" -ne 0 ]; then a2enmod -q auth_openidc + if [ -n "$OIDC_ENABLED" ]; then + # Compatibility with : as separator instead of space: + OIDC_SCOPES=$(echo "$OIDC_SCOPES" | tr ':' ' ') + export OIDC_SCOPES + fi fi if [ -n "$CRON_MIN" ]; then -- cgit v1.2.3