Shorten the skill into reference files; fixes from the Miniflux rehearsal
SKILL.md keeps what every app needs; sign-in details and publishing move to references/sign-in.md and references/publishing.md, read when it says. A Miniflux rehearsal found coreapp signin calling a quiet callback failure "Signed in": it now checks the app's page doesn't offer sign-in again. Every app gets CORE_PROXY (traefik's address). The skill says groups is null (don't map roles from it), claims come from userinfo, and to wait for Authelia's discovery and the database at startup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -193,8 +193,9 @@ The Core's own scripts trace secrets, so their output goes to
|
||||
`coreapp.toml` and `.coreapp` (`needs=`); `/federated/apps/hello/.env`
|
||||
is root's, mode 600, with `IMAGE_VERSION` equal to `version` and a
|
||||
random `APP_SECRET`, `CORE_DOMAIN` the Core's domain and
|
||||
`CORE_ADMIN_EMAIL` `admin@<domain>` (an app installed before they
|
||||
existed gets them on its next update).
|
||||
`CORE_ADMIN_EMAIL` `admin@<domain>`, `CORE_PROXY` traefik's address (as
|
||||
`INTERNAL_IP` in `/federated/services/traefik/service`) (an app installed
|
||||
before they existed gets them on its next update).
|
||||
Superpanel's catalog
|
||||
(`/federated/apps/superpanel/data/catalog.json`) lists `hello`.
|
||||
3. `coreapp check`: `OK: HTTP 200, valid certificate.` (the first
|
||||
@@ -401,6 +402,13 @@ has the `DB_*` variables, `.coreapp` says `needs=postgres`.
|
||||
/nope (its forms: /signin, /signin/core)". sso-demo's `/` (a link, not
|
||||
a form): "didn't lead to the Core's sign-in". A page with two
|
||||
hidden-only forms: "several forms ... pick one with --form".
|
||||
11a. A callback that fails quietly: an app whose callback sends the browser
|
||||
back to its sign-in page (Miniflux with group mapping on, or its sign-in
|
||||
page replayed through `signin.main` with `follow` replaced): "Not
|
||||
signed in: Authelia accepted the test account, but the app ended at
|
||||
..., which offers sign-in again", exit 1. A page that neither shows the
|
||||
test account nor offers sign-in: "Signed in ..." and "Its page doesn't
|
||||
show coreapp.test, but doesn't offer sign-in again either ...".
|
||||
12. The Core's admin: a new `coreapp new --sso` app, deployed, `coreapp
|
||||
signin --cookies jar`: its page says "Signed in as coreapp.test ...
|
||||
groups: none." (not admin). With `CORE_ADMIN_EMAIL` in its `.env` set
|
||||
|
||||
Reference in New Issue
Block a user