Added fix to discourse for client secret
This commit is contained in:
parent
95b27790da
commit
386a9f726f
@ -265,6 +265,7 @@ configsso_discourse() {
|
|||||||
|
|
||||||
DISCOURSE_CLIENT_SECRET=$(create_password);
|
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 }')
|
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
|
cat >> /federated/apps/authelia/data/config/idproviders.yml <<EOF
|
||||||
### Discourse
|
### Discourse
|
||||||
|
Loading…
x
Reference in New Issue
Block a user