X Enterprises
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.oauth is true and oauthProviders (or legacy socialLoginProviders) is set. No silent Google fallback. The “or” divider hides when there are no providers.
  • Signup link when features.signup is not false.
  • Forgot-password hint when features.forgotPassword is not false.
  • Query ?verified=1 shows “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.
Copyright © 2026