Added fix to discourse for client secret

This commit is contained in:
Derek Crudgington 2025-02-13 16:48:38 +00:00
parent 95b27790da
commit 386a9f726f

View File

@ -265,6 +265,7 @@ configsso_discourse() {
DISCOURSE_CLIENT_SECRET=$(create_password);
DISCOURSE_CLIENT_SECRET_HASH=$(docker run --rm authelia/authelia:latest authelia crypto hash generate pbkdf2 --password $DISCOURSE_CLIENT_SECRET | awk '{ print $2 }')
echo "$DISCOURSE_CLIENT_SECRET" > /federated/apps/discourse/.discourse.client.secret
cat >> /federated/apps/authelia/data/config/idproviders.yml <<EOF
### Discourse