nuxt-x-neon-auth
Login
Login form with email/password, OAuth, OTP, and magic link entry points for Neon Auth.
Login
The XAuthLogin component renders a complete login form — email/password fields, optional OAuth provider buttons, and links to signup, forgot password, OTP, and magic link pages. Behaviour is controlled by xAuth.features in app.config.ts.
Components
<XAuthLogin />
Use on the /auth/login page. On success it navigates to xAuth.redirects.afterLogin.
<XAuthLogin />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
redirectTo | string | xAuth.redirects.afterLogin | Override the post-login redirect path |
loading | boolean | false | Show a loading state on the submit button |
error | string | null | null | Display an error message above the form |
AI Context
component: XAuthLogin
package: "@xenterprises/nuxt-x-neon-auth"
use-when: Login page backed by Neon Auth (Better Auth)
