Corrected WebAuthn PRF Demo

This demo shows how to deterministically generate a secret key from your passkey, making the cross-device flow easy to understand.


Step 1: Create an Account & Register a Passkey

First, choose a username and register it on one device. This will create a passkey and link it to your Google Account (or other passkey provider).

Awaiting action...

Step 2: Authenticate and Get the PRF Secret

Use the 'Authenticate' button to log in. The secret key below will be generated from your passkey.

To test on another device:

  1. Open this page on your second device (e.g., your tablet).
  2. Enter the exact same username you registered with.
  3. Click "Authenticate & Generate Secret."
  4. You will see the exact same secret keys appear below!

PRF Secret Key (Base64):

Awaiting authentication...

Stuck or want to start over? This will clear the saved username for this browser only.