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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -80,7 +80,7 @@ class Handler(BaseHTTPRequestHandler):
|
||||
def home(self, query):
|
||||
user = oidc.read_session(self.cookie("session"))
|
||||
if not user:
|
||||
self.page('<p><a href="/login">Sign in with your Core account</a></p>')
|
||||
self.page('<p><a href="/login">Sign in with Core SSO</a></p>')
|
||||
return
|
||||
with connect() as db:
|
||||
db.execute("INSERT INTO visits (person) VALUES (%s)", (user["sub"],))
|
||||
|
||||
@@ -50,7 +50,7 @@ class Handler(BaseHTTPRequestHandler):
|
||||
'<p><a href="/logout">Sign out</a></p>'
|
||||
)
|
||||
else:
|
||||
body = '<p><a href="/login">Sign in with your Core account</a></p>'
|
||||
body = '<p><a href="/login">Sign in with Core SSO</a></p>'
|
||||
self.page(body)
|
||||
|
||||
def login(self, query):
|
||||
|
||||
Reference in New Issue
Block a user