summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--start.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/start.sh b/start.sh
index f0d0a0d..f4d8b9a 100644
--- a/start.sh
+++ b/start.sh
@@ -17,6 +17,12 @@ if [ "$oidc_scheme" = "http" ]; then
yaml=$(echo "$yaml" | sed -e "s/port_value: 443/port_value: $oidc_port/")
fi
+# I need an adult with access to vault to set this
+if [ -z "$OAUTH_CLIENT_SECRET" ]; then
+ export OAUTH_CLIENT_SECRET="secret"
+fi
+
+# and this.
if [ -z "$HMAC_SESSION_SECRET" ]; then
export HMAC_SESSION_SECRET="$OAUTH_CLIENT_SECRET"
fi