- Install dependencies with
npm i
- Run:
PASSKEYS_TENANT_ID=<your tenant id> PASSKEYS_SECRET_API_KEY=<your secret api key> node ./index.js
Then go to localhost:3000 and try it out!
The example has two accounts you can try:
- John Doe /
password123
- Omar Doe /
SHUSHforTHISisAsecret
Log in with one, then click on "register passkey". You'll be prompted to select a passkey to add to the account you're logged in with.