nuxt-x-auth-nile
MfaChallenge
Six-digit MFA form for Nile sign-in challenges (authenticator or email OTP).
MfaChallenge
Used on /auth/mfa during sign-in. login() navigates here with ?token=… and, when Nile sends it, ?method=email or authenticator.
Requires xAuth.features.mfa. Off → the page redirects to login.
<XAuthMfaChallenge />
| Prop | Type | Default | Description |
|---|---|---|---|
token | string | query token | Challenge token from sign-in |
method | 'authenticator' | 'email' | 'authenticator' | Overridden by query method when present |
On success it navigates to afterLogin. No token → submit disabled, “sign in again”. Code must be 6 digits.
Email MFA codes are not signup verification emails.
AI Context
component: XAuthMfaChallenge
package: "@xenterprises/nuxt-x-auth-nile"
use-when: Sign-in MFA challenge. Reads token and method from the query string.
