X Enterprises
nuxt-x-auth

Handler

Catch-all auth callback handler for OAuth redirects and magic link completions.

Handler

The XAuthHandler component is used on the /auth/handler/[...slug] catch-all page. It inspects the route slug and dispatches to the correct callback — OAuth code exchange, magic link verification, email verification, or password reset. Renders a loading indicator while processing.

Components

<XAuthHandler />

Mount on the catch-all handler page; no props needed.

<XAuthHandler />

Props

PropTypeDefaultDescription
redirectTostringxAuth.redirects.afterLoginOverride the post-callback redirect path

AI Context

component: XAuthHandler
package: "@xenterprises/nuxt-x-auth"
use-when: Catch-all callback page for OAuth redirects and magic link / email-verification completions
Copyright © 2026