The Core's admin account is always an admin of the app

Every app's .env gets CORE_ADMIN_EMAIL (admin@<domain>, the Core's own
admin, as Federated's apps use). The skill says apps make that account an
admin on each Core sign-in, trusting only Authelia's email, instead of a
setup link; the sso example apps show the check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 18:34:36 -07:00
co-authored by Claude Opus 5.5
parent da36a669bf
commit dca8837487
8 changed files with 54 additions and 13 deletions
+9
View File
@@ -416,6 +416,15 @@ Steps:
the first admin comes from a setup link in the log, not whoever signs
in first; apps with their own client-setup step take `OIDC_*`
instead; icons under 80 pixels get a note
- Decided 2026-12-03 (David): on a Core, the Core's admin account
`admin@<domain>` (uid `admin`, the one member of `admins`; Federated's
own apps make it their admin too) is always an admin of the app,
trusted only from the Core's sign-in. Every app's `.env` has
`CORE_ADMIN_EMAIL`; the skill says so instead of a setup link, and
the sso example shows it. Supermarket (setup link) should change
to it
- [ ] David: sign in to a `coreapp new --sso` app as admin in a
browser ("the app's admin")
- [ ] David: the agent's changes, for Supermarket's own repository
(and a login CSRF it noticed in the app's sign-in: its OIDC state
isn't tied to a browser cookie)