coreapp new --postgres --sso: database and sign-in together

Overlays no longer replace service: each names the Core apps it needs in
.depends, merged into DEPENDS. The sign-in code is a module (oidc.py)
that examples import; templates/postgres-sso is the combined example
(sign-in, each person's visits counted in PostgreSQL). Tested with
team-visits, including sign-in in a browser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 12:43:22 -07:00
co-authored by Claude Opus 5.5
parent 284f52fc29
commit d8c6d1011f
14 changed files with 381 additions and 172 deletions
+9 -1
View File
@@ -186,7 +186,15 @@ A real sign-in to sso-demo with a Core account in a browser worked
- `bin/stop` and `bin/start` don't know apps outside Federated's lists, so
when a dependency (postgresql, authelia) is upgraded, coreapp apps keep
running instead of being stopped and restarted; they reconnect
- [ ] `--postgres` and `--sso` together (each has its own example app)
Both together (2026-12-03): overlays no longer replace `service`; each
names the Core apps it needs in `.depends`, merged into `DEPENDS`. The
sign-in code is a module (`oidc.py`) any example imports;
`templates/postgres-sso` is the combined example (sign-in, each person's
visits in PostgreSQL). Tested with `team-visits`: database, Authelia client
`coreapp-team-visits`, `DEPENDS="postgresql authelia"`, `/login` to Authelia.
Signing in to team-visits and sso-demo (with the oidc.py code) in a browser
worked (2026-12-03, tested by David).
- [ ] Later: apps published for other Cores (registry, submitting to
Federated)