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
+3
View File
@@ -4,4 +4,7 @@ IMAGE_VERSION=@VERSION@
APP_URL=https://{{NAME}}.@DOMAIN@
# The Core's domain; set only on a Core, so an app can tell it runs on one
CORE_DOMAIN=@DOMAIN@
# The Core's admin account: always an admin of the app, when signed in with
# the Core (needs "sso")
CORE_ADMIN_EMAIL=admin@@DOMAIN@
APP_SECRET=@APP_SECRET:RANDOM:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL@