Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 533 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 533 Bytes

Hanko Passkeys SDK: Node.js Example

Setup

  1. Install dependencies with npm i
  2. 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.