nuxt-x-neon-auth
MagicLinkCallback
Handles the Neon Auth magic link callback URL by verifying the token from the query string.
MagicLinkCallback
The XAuthMagicLinkCallback component handles the landing page after a user clicks a Neon Auth magic link. It extracts the token from the query string 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 (typically handled by XAuthHandler).
<XAuthMagicLinkCallback />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
redirectTo | string | xAuth.redirects.afterLogin | Where to navigate after successful verification |
AI Context
component: XAuthMagicLinkCallback
package: "@xenterprises/nuxt-x-neon-auth"
use-when: Callback page that completes a Neon Auth magic link sign-in using the token in the URL
