Pattern
Auth Redirect Flow Breaks
auth-redirect-flow-bypass
Auth-related URL changes and token/session state fail when wrappers, middleware routing, callback redirects, and server-action control flow interact unexpectedly—causing redirects to be skipped, URLs to stay stale, or auth middleware errors to surface after Next.js/Auth.js upgrades.