Let apps describe their sign-in client: [sso] callback, pkce, token_auth
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>
This commit is contained in:
@@ -62,6 +62,11 @@ version = "0.1.0"
|
||||
port = 8080 # the port it serves HTTP on
|
||||
health = "/" # a path that answers when it's up
|
||||
needs = ["postgres", "sso"] # its own database ("mysql" for MariaDB); sign-in with Core accounts; "email": sending mail
|
||||
|
||||
[sso] # optional: for apps whose sign-in can't match the default client
|
||||
callback = "/auth/openid/core" # default "/auth/callback"
|
||||
pkce = false # default true
|
||||
token_auth = "client_secret_post" # default "client_secret_basic"
|
||||
```
|
||||
|
||||
The app has no scripts or compose file: the Core side is made by
|
||||
|
||||
Reference in New Issue
Block a user