X Enterprises
nuxt-x-auth

MagicLinkCallback

Handles the magic link callback URL by reading the code query parameter and verifying the sign-in.

MagicLinkCallback

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

Components

<XAuthMagicLinkCallback />

Render on the page that your magic link redirects to (e.g. /auth/handler/magic-link-callback).

<XAuthMagicLinkCallback />

Props

PropTypeDefaultDescription
redirectTostringxAuth.redirects.afterLoginWhere to navigate after a successful callback

AI Context

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