X Enterprises
nuxt-x-auth-stack

MagicLinkCallback

Handles the Stack Auth magic link callback URL by verifying the sign-in code from the query string.

MagicLinkCallback

The XAuthMagicLinkCallback component handles the landing page after a user clicks a Stack Auth magic link. It extracts the code query parameter and calls signInWithMagicLink, then redirects on success or shows an error on failure.

Components

<XAuthMagicLinkCallback />

Render on the page that your magic link redirects to (typically handled via XAuthHandler on /auth/handler/[...slug]).

<XAuthMagicLinkCallback />

Props

No props. On success it redirects to xAuth.redirects.afterLogin.


AI Context

component: XAuthMagicLinkCallback
package: "@xenterprises/nuxt-x-auth-stack"
use-when: Callback page that completes a Stack Auth magic link sign-in using the code in the URL
Copyright © 2026