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:
@@ -15,10 +15,9 @@ cat >> "$IDP" <<OIDC
|
||||
consent_mode: 'implicit'
|
||||
public: false
|
||||
authorization_policy: 'one_factor'
|
||||
require_pkce: true
|
||||
pkce_challenge_method: 'S256'
|
||||
{{SSO_PKCE}}
|
||||
redirect_uris:
|
||||
- 'https://{{NAME}}.$DOMAIN/auth/callback'
|
||||
- 'https://{{NAME}}.$DOMAIN{{SSO_CALLBACK}}'
|
||||
scopes:
|
||||
- 'openid'
|
||||
- 'profile'
|
||||
@@ -28,7 +27,7 @@ cat >> "$IDP" <<OIDC
|
||||
- 'code'
|
||||
grant_types:
|
||||
- 'authorization_code'
|
||||
token_endpoint_auth_method: 'client_secret_basic'
|
||||
token_endpoint_auth_method: '{{SSO_TOKEN_AUTH}}'
|
||||
userinfo_signed_response_alg: 'none'
|
||||
### coreapp-{{NAME}} end
|
||||
OIDC
|
||||
|
||||
Reference in New Issue
Block a user