Home / Companies / Nhost / Blog / Post Details
Content Deep Dive

WeAuthn Sign-In Method

Blog post from Nhost

Post Details
Company
Date Published
Author
Pierre-Louis Mercereau
Word Count
1,892
Language
English
Hacker News Points
-
Summary

Nhost has introduced WebAuthn as a new sign-in method, enabling users to authenticate using biometric data such as fingerprints or facial recognition, similar to how they unlock their phones. This advancement addresses the limitations of traditional password-based authentication, which is often insecure and cumbersome for users. WebAuthn, part of the FIDO2 project developed by the FIDO Alliance and W3C, offers a more secure and user-friendly alternative and is widely adopted by major tech companies like Google and Microsoft. At Nhost, users can sign up or sign in using security keys instead of passwords, enhancing both security and user experience. The implementation involves enabling security keys in project settings and using Nhost's JavaScript SDK or React hooks for integration. WebAuthn also supports multiple security keys per user, allowing flexibility in authentication. This feature was added to Nhost following community contributions, particularly by external contributor Asen Lekov, demonstrating the collaborative nature of open-source development. WebAuthn can also facilitate a "usernameless" mode, potentially eliminating the need for email input during authentication, and further enhancements for Vue3 composables are planned.