VOOZH about

URL: https://spatie.be/docs/laravel-passkeys/v1/introduction

⇱ Introduction | laravel-passkeys | Spatie


Laravel Passkeys

Use passkeys in your Laravel app

Passkeys allow passwordless login by generating a secure key stored in apps like 1Password, MacOS' password manager, or others on your preferred OS. This package provides a simple way to generate passkeys and authenticate users using passkeys with a Livewire or Blade component.
879,909
471

Introduction

This package provides a simple way to generate passkeys using a Livewire component. It also contains a Blade component that can authenticate your users using passkeys.

Passkeys in action

Passkeys let you log in without needing a password. Instead of a password, you can generate a passkey which will be stored in 1Pass, MacOS' password app, or alternative app on your favourite OS.

Here's how it looks like when creating a passkey on Mailcoach, which uses spatie/laravel-passkeys under the hood.

And here's what logging in on Mailcoach using a passkeys looks like. Note that your don't have to type in your email address or password. You just need to click the "Log in with passkey" and let 1Pass (or alternative app) do the rest.

Demo application

We've provided a demo application that uses this package to log in users using passkeys.

Learning more

You can learn more about how passkeys work here. There's also this wonderful course on Laracasts about how to implement passkeys in Laravel.

Help us improve this page