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
| Prop | Type | Default | Description |
|---|---|---|---|
type | 'magic-link' | 'password-reset' | 'oauth' | 'email-verification' | required | Which auth callback flow to handle |
redirectTo | string | '/' | Where to navigate after a successful callback |
redirectDelay | number | 1500 | Milliseconds 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
