protocol/dev WebAuthn Workbench

Web Authentication API

Passkeys, end to end.

Run real browser ceremonies. Let the Worker verify what the authenticator signed.

Before you begin

Origin and relying party

Checking this origin…
Page origin —

The scheme, host, and port the browser protects.

Enter this page's exact hostname only. This workbench disables parent-domain RP IDs.

Why do these values matter?

Real WebAuthn ceremonies require HTTPS. For local HTTP development, use localhost. A LAN IP or custom hostname over HTTP is not enough.

The origin includes the protocol, hostname, and port (for example http://localhost:8788). The RP ID is just a domain, such as localhost. This workbench requires the RP ID to exactly match the page hostname so a passkey cannot be scoped to a parent domain.

Create

Register a passkey

The browser creates a credential. The Worker requests ES256/P-256 and user verification, then saves its public key for this browser session.

Prepare a one-time challenge to begin.

Prove

Authenticate

The browser asks your authenticator to verify you and sign a fresh challenge with the registered credential.

Register in this Worker session first.

No authenticator needed

Explore the verifier

The Worker creates a throwaway key and signed assertion, then tries valid and tampered inputs. This does not register or authenticate a real passkey.

Session credentials

Test labels and public keys are private to this browser session and expire 30 minutes after it starts. Use a test label. Reset clears the session. Your browser or authenticator can still retain the passkey.

Safe summaries only

Recent activity

  1. No ceremonies yet.