Renders a Connect / Reconnect anchor that forces a hard browser navigation to the OAuth initiation route. A plain tag on the same origin can be intercepted by Next.js App Router's client-side fetch, which then follows the server-side 307 redirect to the external OAuth provider — a cross-origin fetch that CORS blocks, leaving async message-channel listeners unresolved. Using window.location.assign() bypasses the router entirely.
Renders a Connect / Reconnect anchor that forces a hard browser navigation to the OAuth initiation route. A plain tag on the same origin can be intercepted by Next.js App Router's client-side fetch, which then follows the server-side 307 redirect to the external OAuth provider — a cross-origin fetch that CORS blocks, leaving async message-channel listeners unresolved. Using window.location.assign() bypasses the router entirely.