mirror of
https://github.com/Chewbaccalakis/rfid-database.git
synced 2026-09-09 16:01:56 -07:00
Fix OIDC: enable from runtime AUTH_OIDC_* (no NEXT_PUBLIC flag) (#5)
The SSO button required NEXT_PUBLIC_AUTH_OIDC_ENABLED, which is baked at build time and silently fails under Docker runtime env. Drive the login button from server-side AUTH_OIDC_* instead, and document IdP redirect URI + AUTH_URL setup. Co-authored-by: Cursor Agent <[email protected]>
This commit is contained in:
co-authored by
Cursor Agent
parent
0e50c537ee
commit
6d76fecde9
+2
-5
@@ -16,15 +16,12 @@ services:
|
||||
PORT: "3000"
|
||||
HOSTNAME: 0.0.0.0
|
||||
AUTH_TRUST_HOST: "true"
|
||||
# OIDC: set AUTH_OIDC_ISSUER / CLIENT_ID / CLIENT_SECRET (and AUTH_URL)
|
||||
# in .env — the login page picks them up at runtime.
|
||||
# Optional bootstrap (only creates if missing):
|
||||
# CREATE_USER_EMAIL: [email protected]
|
||||
# CREATE_USER_PASSWORD: change-me
|
||||
# CREATE_USER_NAME: Admin
|
||||
# Optional OIDC — also set NEXT_PUBLIC_* in .env if using SSO button
|
||||
# AUTH_OIDC_ISSUER: ${AUTH_OIDC_ISSUER:-}
|
||||
# AUTH_OIDC_CLIENT_ID: ${AUTH_OIDC_CLIENT_ID:-}
|
||||
# AUTH_OIDC_CLIENT_SECRET: ${AUTH_OIDC_CLIENT_SECRET:-}
|
||||
# AUTH_OIDC_NAME: ${AUTH_OIDC_NAME:-SSO}
|
||||
volumes:
|
||||
- rfid-data:/data
|
||||
healthcheck:
|
||||
|
||||
Reference in New Issue
Block a user