fix(auth): make audience vote, live-scores and ceremony routes public

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matt
2026-06-10 18:02:08 +02:00
parent dcd85c9b13
commit 64f88890f5
2 changed files with 23 additions and 0 deletions

View File

@@ -59,6 +59,9 @@ export const authConfig: NextAuthConfig = {
'/reset-password',
'/apply',
'/lunch/pick', // external attendees pick a dish via signed token (no account)
'/vote', // audience QR voting at the grand finale (token-based, no account)
'/live-scores', // public live scoreboard
'/live/ceremony', // big-screen ceremony view (projector, no account)
'/api/auth',
'/api/trpc', // tRPC handles its own auth via procedures
'/api/cron', // cron endpoints self-guard via x-cron-secret (CRON_SECRET)