JavaScript: Sign in with a passkey

Sign in with a passkey. Handles the full WebAuthn ceremony:

  1. Fetches authentication challenge from server
  2. Prompts user via navigator.credentials.get()
  3. Verifies credential with server and creates session

Requires auth.experimental.passkey: true.

Parameters