X Enterprises
nuxt-x-auth-stack

Handler

Catch-all auth callback handler for Stack Auth — OAuth redirects, magic link, email verification, and password reset.

Handler

The XAuthHandler component is used on the /auth/handler/[...slug] catch-all page. It inspects the route slug and dispatches to the correct Stack Auth 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-stack"
use-when: Catch-all callback page for Stack Auth OAuth redirects, magic link, email verification, and password reset
Copyright © 2026