nuxt-x-auth-nile
Login
Login form with email/password, optional OAuth, and a verified-email banner for Nile Auth.
Login
XAuthLogin is the shipped /auth/login form. On success it navigates to xAuth.redirects.afterLogin. When Nile requires MFA it navigates to /auth/mfa?token=… (and method when Nile sends one).
<XAuthLogin />
No props. Behaviour comes from xAuth in app.config.ts:
- OAuth buttons only when
features.oauthis true andoauthProviders(or legacysocialLoginProviders) is set. No silent Google fallback. The “or” divider hides when there are no providers. - Signup link when
features.signupis notfalse. - Forgot-password hint when
features.forgotPasswordis notfalse. - Query
?verified=1shows “Email verified. Sign in to continue.” Nile’s verify-email click does not create a session.
Validation: valid email; password required.
AI Context
component: XAuthLogin
package: "@xenterprises/nuxt-x-auth-nile"
use-when: Login page backed by Nile Auth. Verification links land here with ?verified=1.
