X Enterprises
nuxt-x-neon-auth

Handler

Generic auth callback handler for Neon Auth — magic link, password reset, OAuth, and email verification.

Handler

The XAuthHandler component handles all auth callback types for Neon Auth. Pass the type prop to specify which flow to complete. Used on the /auth/handler/[slug] page and dispatches to magic link verification, password reset, OAuth code exchange, or email verification.

Components

<XAuthHandler />

Mount on the handler page with the appropriate type.

<XAuthHandler type="magic-link" redirect-to="/dashboard" />

Props

PropTypeDefaultDescription
type'magic-link' | 'password-reset' | 'oauth' | 'email-verification'requiredWhich auth callback flow to handle
redirectTostring'/'Where to navigate after a successful callback
redirectDelaynumber1500Milliseconds to wait before redirecting

AI Context

component: XAuthHandler
package: "@xenterprises/nuxt-x-neon-auth"
use-when: Auth callback page for Neon Auth — handles magic link, password reset, OAuth, and email verification completions
Copyright © 2026