From bdb15367c2ed8ea339623340283d38dcd5c2177e Mon Sep 17 00:00:00 2001 From: David Young Date: Fri, 4 Dec 2026 08:07:03 -0700 Subject: [PATCH] Call the Core's sign-in "Core SSO" (or "Authelia") in apps The skill, sign-in.md and the porting checklist say to name the sign-in provider or button "Core SSO" or "Authelia", so it reads the same in every app; the sso examples' link says "Sign in with Core SSO". Co-Authored-By: Claude Opus 5.5 --- PLAN.md | 3 +++ skills/coreapp/SKILL.md | 4 ++++ skills/coreapp/references/porting.md | 3 +++ skills/coreapp/references/sign-in.md | 5 ++++- templates/postgres-sso/app.py | 2 +- templates/sso/app.py | 2 +- 6 files changed, 16 insertions(+), 3 deletions(-) diff --git a/PLAN.md b/PLAN.md index 900af18..1504859 100644 --- a/PLAN.md +++ b/PLAN.md @@ -520,6 +520,9 @@ Steps: admin rule in an upstream image (a setting, else CLI/API at startup, else a trigger on the admin's row only), and `--form` isn't needed beside a password form + - Decided 2026-12-04 (David): apps call the Core's sign-in "Core + SSO" or "Authelia" (provider name, button text: "Sign in with Core + SSO"). In the skill, sign-in.md, porting.md and the sso examples - [ ] David: sign in to listmonk-app as admin@dev.fedcom.net (Super Admin, Settings), and send a campaign from `listmonk-app@dev.fedcom.net`; remove it when done diff --git a/skills/coreapp/SKILL.md b/skills/coreapp/SKILL.md index 71c3f01..a2edc63 100644 --- a/skills/coreapp/SKILL.md +++ b/skills/coreapp/SKILL.md @@ -231,6 +231,10 @@ By default the client's redirect URI is `$APP_URL/auth/callback`, PKCE then fit the client to the app with `[sso]` in `coreapp.toml` (`callback`, `pkce`, `token_auth`), never with a workaround in the app. Use the app's own OpenID Connect support ("generic OIDC" settings) with `OIDC_*`. +Call the sign-in "Core SSO" (or "Authelia") wherever the app names it: its +provider name or button text, so the button reads "Sign in with Core SSO"; +not "Core", "Federated" or "OIDC", so people see the same name in every +app. Two rules for who may do what, on every Core: diff --git a/skills/coreapp/references/porting.md b/skills/coreapp/references/porting.md index aa35356..c25468a 100644 --- a/skills/coreapp/references/porting.md +++ b/skills/coreapp/references/porting.md @@ -86,6 +86,9 @@ SKILL.md), and make the Dockerfile fit the Core: ids so it doesn't try to switch, and a harmless chown warning is fine. If the image really can't run as another user, leave it as root and say so. +- **Name the sign-in "Core SSO"** (or "Authelia"), with `sso`: the + provider name or button text in the app's OIDC settings (details in + sign-in.md). - **Give it its own `icon.png`**: the project's logo, square, as a PNG (convert an SVG or ICO; 256x256 is good). The template's is a placeholder. `coreapp deploy` and `publish` say if it's unusable, not diff --git a/skills/coreapp/references/sign-in.md b/skills/coreapp/references/sign-in.md index cb503dc..f3d608a 100644 --- a/skills/coreapp/references/sign-in.md +++ b/skills/coreapp/references/sign-in.md @@ -40,7 +40,10 @@ Many apps fetch discovery only once at startup: wait for it in the entrypoint (SKILL.md, "Wait for what it needs at startup"). Use the app's own OpenID Connect support or its framework's library: most -self-hosted apps have "generic OIDC" settings that map onto `OIDC_*`. If +self-hosted apps have "generic OIDC" settings that map onto `OIDC_*`. Set +their provider name or button label to "Core SSO" (or "Authelia"), and +check how it reads on the app's sign-in page; where it's built into the +app's own code, word its button "Sign in with Core SSO". If the app has its own step for setting up its client (an admin makes a secret in its settings, or pastes a client block into the identity provider), skip it on the Core: fill its settings from `OIDC_*`, so diff --git a/templates/postgres-sso/app.py b/templates/postgres-sso/app.py index 053ddf0..3d215b2 100644 --- a/templates/postgres-sso/app.py +++ b/templates/postgres-sso/app.py @@ -80,7 +80,7 @@ class Handler(BaseHTTPRequestHandler): def home(self, query): user = oidc.read_session(self.cookie("session")) if not user: - self.page('

Sign in with your Core account

') + self.page('

Sign in with Core SSO

') return with connect() as db: db.execute("INSERT INTO visits (person) VALUES (%s)", (user["sub"],)) diff --git a/templates/sso/app.py b/templates/sso/app.py index 1313900..f7e9471 100644 --- a/templates/sso/app.py +++ b/templates/sso/app.py @@ -50,7 +50,7 @@ class Handler(BaseHTTPRequestHandler): '

Sign out

' ) else: - body = '

Sign in with your Core account

' + body = '

Sign in with Core SSO

' self.page(body) def login(self, query):