Login
Login
The XAuthLogin component renders a complete login form for Stack Auth — email/password fields, optional OAuth provider buttons, and links to signup, forgot password, magic link, and OTP 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
No props. Behaviour is controlled by xAuth.features and xAuth.redirects in app.config.ts; loading and error states are managed internally via useXAuth.
AI Context
component: XAuthLogin
package: "@xenterprises/nuxt-x-auth-stack"
use-when: Login page backed by Stack Auth
nuxt-x-auth-stack
Nuxt 4 authentication layer powered by Stack Auth — 10 XAuth-prefixed components, a useXAuth composable with OAuth/magic-link/OTP/password-reset support, global auth middleware, and 7 pre-built pages built on Nuxt UI v4.
Form
Base form wrapper that provides the shared card and layout shell for Stack Auth page components.
