auth: enable JWT validation, support roles claim
CI / Vet, test, build (push) Successful in 3m45s
CI / Build and push image (push) Successful in 1m19s

- Enable auth in gateway config with JWKS URL
- Check both 'permissions' (users) and 'roles' (service accounts)
- Allow any Authentik issuer (service accounts have per-provider issuers)
- Required capability: llm:inference
This commit is contained in:
Admin Bot
2026-09-03 19:30:39 -07:00
parent f154c5993a
commit 2370a5ae7c
2 changed files with 48 additions and 13 deletions
+6 -1
View File
@@ -11,8 +11,13 @@ data:
# See REQUIREMENTS.md for full specification
# JWT Authentication for /v1/* endpoints (LLM API)
# All Authentik providers share same signing key, so any JWKS URL works.
# Issuer varies per provider (portfolio-agent, memory-agent, local-llm, etc.)
# Gateway validates: signature + roles claim contains requiredCapability
auth:
enabled: false
enabled: true
jwksUrl: "https://authentik.riotpiao.com/application/o/local-llm/jwks/"
requiredCapability: "llm:inference"
# Routes: standard HTTP proxy routes (not LLM-specific)
# These are for non-LLM services (agent-pod/console, etc.)