Nuxt Auth Utils: Secure, Simple, and Flexible Logins
Plans from $25/month

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

Register with Passkeys in Nuxt Auth Utils

In this lesson, learn what the registration flow for passkeys looks like in Nuxt Auth Utils. The defineWebAuthnRegisterEventHandler takes a validateUser function and an onSuccess function. We can use the combination of both of these to register a new user with a passkey or add a passkey to an existing user.