fix(#410): pass OIDC_ENABLED to API container in docker-compose

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 <[email protected]>
This commit is contained in:
2026-02-16 04:04:42 -06:00
co-authored by Claude Opus 4.6
parent 3376d8162e
commit 4b3eecf05a
2 changed files with 2 additions and 0 deletions
+1
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}
+1
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}