From 4e6fcbc566ea53c1e9a96cc9b40ae5450b0a5e5f Mon Sep 17 00:00:00 2001 From: Mark Henderson Date: Wed, 18 Feb 2026 15:13:29 -0800 Subject: [PATCH] fix: move forwardAuth endpoint to /api/theia-auth NextAuth catches all /api/auth/* routes via [...nextauth] catch-all. Move the Traefik forwardAuth endpoint to /api/theia-auth to avoid the conflict. Traefik dynamic config updated to match. Co-authored-by: Cursor --- app/api/{auth/theia-check => theia-auth}/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename app/api/{auth/theia-check => theia-auth}/route.ts (98%) diff --git a/app/api/auth/theia-check/route.ts b/app/api/theia-auth/route.ts similarity index 98% rename from app/api/auth/theia-check/route.ts rename to app/api/theia-auth/route.ts index 8a06a9e..d070bbe 100644 --- a/app/api/auth/theia-check/route.ts +++ b/app/api/theia-auth/route.ts @@ -1,5 +1,5 @@ /** - * GET /api/auth/theia-check + * GET /api/theia-auth * * Traefik ForwardAuth endpoint for theia.vibnai.com. *