FORGE_OIDC_ISSUER, FORGE_OIDC_CLIENT_ID and
FORGE_OIDC_CLIENT_SECRET — Casdoor, Keycloak and anything else that speaks OIDC. The CLI’s browser
and device-code logins follow the same flow without extra configuration.
Check which a deployment offers before assuming:
Two account systems
- Local accounts
- OIDC single sign-on
Works out of the box: admins create accounts with
sf admin user-add, and users log in with username and password. On a fresh deployment, the first administrator is created via the console’s first-visit onboarding (/api/auth/setup).Token system
The platform issues domain-isolated tokens per purpose — no token can impersonate another kind:Security baseline
FORGE_WEB_JWT_SECRETmust be set to a fixed strong random string (identical across replicas);- Configure
FORGE_REDIS_URLin production: instant token revocation on logout / ban, distributed rate limiting; - Cluster and storage credentials stay server-side only; the job side sees only presigned URLs and run-scoped ingest tokens;
- CLI packaging has a sensitive-file blocklist (
.env,*.pem,id_rsa*…), so secrets never end up inside job packages; - All sensitive operations enter the audit trail.