summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-11 22:41:08 -0600
committermo khan <mo@mokhan.ca>2025-05-11 22:41:08 -0600
commit7c75fac3360b8bc3df630b5f8e12b2ff927a2d23 (patch)
treed502da9e8ff82de78f89d859bcaee67987d672c7
parent7517e20bcce760c896e6b349c98cf04f88d6e00f (diff)
chore: fix the production deployment
-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