diff options
| author | 2023-10-27 15:26:39 +0200 | |
|---|---|---|
| committer | 2023-10-27 15:26:39 +0200 | |
| commit | ce6ba583be15414d7541867e96b627fcdd3f9043 (patch) | |
| tree | b18ed01fd158f46685679c3597d6e7a41b3207b6 /Docker | |
| parent | 506fe3f44c280c8b42b9a7735e52360f5d2ee4aa (diff) | |
OIDC_SCOPES compatibility colon (#5753)
fix https://github.com/FreshRSS/FreshRSS/issues/5744
Diffstat (limited to 'Docker')
| -rwxr-xr-x | Docker/entrypoint.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
