Add Linkding OIDC via Authelia, fix jwks key name in config

- linkding: add OIDC env vars pointing to Authelia as identity provider
- authelia/config: fix issuer_private_keys → jwks (correct key for 4.38.x)
  and replace non-functional template function with host-managed note
This commit is contained in:
2026-02-23 18:45:33 +00:00
parent 4c838e1989
commit d0037cf4cd
2 changed files with 34 additions and 0 deletions
+9
View File
@@ -10,6 +10,15 @@ services:
- VIRTUAL_HOST=linkding.kolpacksoftware.com
- VIRTUAL_PORT=9090
- LETSENCRYPT_HOST=linkding.kolpacksoftware.com
# Authelia OIDC
- LD_ENABLE_OIDC=True
- LD_OIDC_OP_AUTHORIZATION_ENDPOINT=https://auth.kolpacksoftware.com/api/oidc/authorization
- LD_OIDC_OP_TOKEN_ENDPOINT=https://auth.kolpacksoftware.com/api/oidc/token
- LD_OIDC_OP_USER_ENDPOINT=https://auth.kolpacksoftware.com/api/oidc/userinfo
- LD_OIDC_OP_JWKS_ENDPOINT=https://auth.kolpacksoftware.com/jwks.json
- LD_OIDC_RP_CLIENT_ID=linkding
- LD_OIDC_RP_CLIENT_SECRET=${LINKDING_OIDC_CLIENT_SECRET}
- LD_OIDC_RP_SIGN_ALGO=RS256
restart: unless-stopped
networks: