diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-11 20:39:23 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-11 21:22:02 -0600 |
| commit | b1b29603622451f677f61be9300987ee3e79a2ff (patch) | |
| tree | 6d61eaf9ce575473e01dfbf049d6fabfabddd659 | |
| parent | 3e1e6ec01f2a3b88e601b4a44885b4cbdd3b7b0a (diff) | |
chore: export OAUTH_CLIENT_SECRET as HMAC_SESSION_SECRET because I cannot change secrets in vault
| -rw-r--r-- | start.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,5 +17,9 @@ if [ "$oidc_scheme" = "http" ]; then yaml=$(echo "$yaml" | sed -e "s/port_value: 443/port_value: $oidc_port/") fi +if [ -z "$HMAC_SESSION_SECRET" ]; then + export HMAC_SESSION_SECRET="$OAUTH_CLIENT_SECRET" +fi + echo "[$(date "+%H:%M:%S")] ==> Starting…" /usr/local/bin/sparkled & /usr/local/bin/envoy --config-yaml "$yaml" --log-level warn --component-log-level oauth2:trace |
