Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Nuxt Auth Utils: Secure, Simple, and Flexible Logins

Register with Passkeys in Nuxt Auth Utils thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

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.