Add WebAuthn functionality to Laravel.




Add the ability for your users to use a hardware based two-factor authentication for their account via a security key, fingerprint, or biometric data. To accomplish this, this package utilizes WebAuthn on both client and server side. You may want to familiarize yourself with WebAuthn before using this package.

As a note, this package only provides the code necessary for registering and asserting credentials. You will need to provide a UI for your users to register security keys, and you will need to incorporate the logic for verifying keys against your users into your authentication workflows. There are alternative's to this package that provide this kind of functionality out-of-the-box, which you can find below.

Since the v1.0.1 patch, a considerable amount of the JavaScript portion of this package has been sourced from the SimpleWebAuthn package made by Matthew Miller. His copyright has been added to the license file, and copyright notices have been placed in JS files where the code is extremely close to what his is.

This package is not affiliated with, maintained, authorized, endorsed or sponsored by Laravel or any of its affiliates.

Caught a mistake? Suggest an edit on GitHub