nuxt-x-neon-auth
Otp
Two-step OTP form for Neon Auth — email input first, then a code verification field.
Otp
The XAuthOtp component renders a two-step form: an email field that calls sendOtp, then a code field that calls verifyOtp. On successful verification the user is signed in and redirected. Visible when xAuth.features.otp is true.
Components
<XAuthOtp />
Use on the /auth/otp page.
<XAuthOtp />
Props
No props. On successful verification the user is signed in and redirected to xAuth.redirects.afterLogin; loading and error states are handled internally via useXAuth().
AI Context
component: XAuthOtp
package: "@xenterprises/nuxt-x-neon-auth"
use-when: OTP sign-in page backed by Neon Auth — email input then code verification
