Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.45 KB

File metadata and controls

32 lines (18 loc) · 1.45 KB

Passkeys: Setup and use

Passkeys is a more secure and modern way to authenticate towards a backend. Many current operating systems support it. Passkeys can also be used utilizing a hardware dongle for even more security.

FIDO_SERVER_ID="your.domain.name"      # Server rp id for FIDO2, it the full domain of your project
FIDO_SERVER_NAME="EXACT"
import passkeys
KEY_ATTACHMENT = None

After logging in, users can register a key (enrollment) in the user profile:

image

Step 1: Enter a name for the key

image

Step 2: Add key with your key provider (here: Mac OS)

image

Step 3: Hit close, after a page refresh the key should be visible:

image

Now the user can log in using the passkey by clicking the "Login by passkeys" button:

image