A rehearsal with Vikunja showed apps with their own redirect path or no PKCE needed a bridge in the container. coreapp.toml's [sso] now sets the Authelia client's callback, PKCE and token method; changes re-register the client, and a failed update restores it. The skill covers [sso], images without a shell and upstream ENV defaults; coreapp shell and status explain rough edges the rehearsal hit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
1.3 KiB
TOML
32 lines
1.3 KiB
TOML
# What a Federated Core needs to know to install {{TITLE}}. coreapp-dev's
|
|
# installer (coreapps) makes the rest from it: the container on the Core's
|
|
# network, https://{{NAME}}.<domain>, its settings and secrets.
|
|
|
|
# Its id and hostname: https://{{NAME}}.<domain>
|
|
name = "{{NAME}}"
|
|
title = "{{TITLE}}"
|
|
description = "{{TITLE}}, made with coreapp-dev"
|
|
# Its documentation, linked from the Core's dashboard (installed from a
|
|
# repository, it defaults to the repository)
|
|
# docs = "https://..."
|
|
|
|
# The image, as image:version. localhost/... images only exist where
|
|
# coreapp deploy copies them; a published app names its registry, e.g.
|
|
# gitea.example.com/owner/{{NAME}}. Raise the version for each release.
|
|
image = "localhost/coreapp/{{NAME}}"
|
|
version = "0.1.0"
|
|
|
|
# The port the app serves HTTP on, and a path that answers when it's up
|
|
port = 8080
|
|
health = "/"
|
|
|
|
# What it needs from the Core: "postgres" or "mysql" (its own database), "sso"
|
|
# (sign-in with Core accounts through Authelia), "email" (sending mail)
|
|
needs = []
|
|
|
|
# With "sso": only if the app's sign-in can't use the defaults
|
|
# [sso]
|
|
# callback = "/auth/callback" # the path it sends people back to
|
|
# pkce = true # whether it sends PKCE (S256)
|
|
# token_auth = "client_secret_basic" # or "client_secret_post"
|