fix(#410): pass OIDC_ENABLED to API container in docker-compose
All checks were successful
ci/woodpecker/push/infra Pipeline was successful

The genericOAuth plugin is conditionally loaded based on OIDC_ENABLED
env var. Without it, BetterAuth has no /sign-in/oauth2 route, causing
404 when the login button is clicked.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-16 04:04:42 -06:00
parent 3376d8162e
commit 4b3eecf05a
2 changed files with 2 additions and 0 deletions

View File

@@ -364,6 +364,7 @@ services:
# Cache
VALKEY_URL: redis://valkey:6379
# Authentication
OIDC_ENABLED: ${OIDC_ENABLED:-false}
OIDC_ISSUER: ${OIDC_ISSUER}
OIDC_CLIENT_ID: ${OIDC_CLIENT_ID}
OIDC_CLIENT_SECRET: ${OIDC_CLIENT_SECRET}

View File

@@ -374,6 +374,7 @@ services:
# Cache
VALKEY_URL: redis://valkey:6379
# Authentication
OIDC_ENABLED: ${OIDC_ENABLED:-false}
OIDC_ISSUER: ${OIDC_ISSUER}
OIDC_CLIENT_ID: ${OIDC_CLIENT_ID}
OIDC_CLIENT_SECRET: ${OIDC_CLIENT_SECRET}