A free, self-hostable news aggregator…
OIDC_SCOPES compatibility colon (#5753)
Alexandre Alapetitece6ba583be15
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex db438c1f9..36a4ac1da 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,7 +6,7 @@## 2023-10-23 FreshRSS 1.22.0* Features- * Add support for OpenID Connect (only in our Debian-based Docker image) through [`libapache2-mod-auth-openidc`](https://github.com/OpenIDC/mod_auth_openidc)+ * Add support for OpenID Connect (only in our default Debian-based Docker image for x86_64, not Alpine) through [`libapache2-mod-auth-openidc`](https://github.com/OpenIDC/mod_auth_openidc)[#5351](https://github.com/FreshRSS/FreshRSS/pull/5351), [#5463](https://github.com/FreshRSS/FreshRSS/pull/5463), [#5481](https://github.com/FreshRSS/FreshRSS/pull/5481),[#5523](https://github.com/FreshRSS/FreshRSS/pull/5523), [#5646](https://github.com/FreshRSS/FreshRSS/pull/5646)* Allow sharing in anonymous mode [#5261](https://github.com/FreshRSS/FreshRSS/pull/5261)diff --git a/Docker/entrypoint.sh b/Docker/entrypoint.shindex 958fb4b40..920fb2200 100755--- a/Docker/entrypoint.sh+++ b/Docker/entrypoint.sh@@ -23,6 +23,11 @@ fiif [ -n "$OIDC_ENABLED" ] && [ "$OIDC_ENABLED" -ne 0 ]; thena2enmod -q auth_openidc+ if [ -n "$OIDC_ENABLED" ]; then+ # Compatibility with : as separator instead of space:+ OIDC_SCOPES=$(echo "$OIDC_SCOPES" | tr ':' ' ')+ export OIDC_SCOPES+ fifiif [ -n "$CRON_MIN" ]; thendiff --git a/docs/en/admins/16_OpenID-Connect.md b/docs/en/admins/16_OpenID-Connect.mdindex ac1bbf03d..6dc868161 100644--- a/docs/en/admins/16_OpenID-Connect.md+++ b/docs/en/admins/16_OpenID-Connect.md@@ -13,7 +13,7 @@ The callback URL is `https://<your-domain>/i/oidc/`.OIDC support in Docker is activated by the presence of a non-empty non-zero `OIDC_ENABLED` environment variable.-> ℹ️ Only available in our Debian image for `x86_64` ([help welcome](https://github.com/FreshRSS/FreshRSS/issues/5722)).+> ℹ️ Only available in our default Debian image (not Alpine) for `x86_64` ([help welcome](https://github.com/FreshRSS/FreshRSS/issues/5722)).## The config is done with these environment variables