auto generate ovis cookie secret

This commit is contained in:
Skiba Jan
2026-03-27 10:13:50 +01:00
parent c8bb9259db
commit 9ca6d0f178
2 changed files with 3 additions and 2 deletions

View File

@@ -4,4 +4,5 @@ if [ -n "$ENABLE_OVIS" ]; then
log INFO "OVIS setup detected -- will start OVIS services with local oauth2-proxy middleware."
OVERRIDE+=" -f ./$PROJECT/modules/ovis-compose.yml"
add_private_oidc_redirect_url "/oauth2-ovis/callback"
fi
OVIS_AUTH_COOKIE_SECRET="$(generate_simple_password 'ovisCookieSecret' | head -c 16)"
fi