Per-host group gating in Caddy from X-Authentik-Groups; Discord roles -> Authentik groups policy; domain-level forward auth documented

BOT_REQUIRE_GROUP / LIVE_REQUIRE_GROUP in .env drive a header_regexp matcher after forward_auth
(403 before the app). authentik/discord-roles-to-groups.py syncs Discord roles into groups at
every login so access follows Discord roles without manual edits.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-10-30 23:22:20 -05:00
parent bee53f2718
commit 384a7ed552
6 changed files with 96 additions and 20 deletions

View File

@@ -16,3 +16,5 @@ BOT_HOST=bot.example.com
LIVE_HOST=live.example.com
MAIN_HOST=media.example.com
LIVE_WEBHOOK_URL=
BOT_REQUIRE_GROUP=bot-users
LIVE_REQUIRE_GROUP=