Pcornel
Identity · Authentication

WebAuthn

Cheat sheet · https://pcornel.dk/topic.php?topic=4481

Back to the Topic

Answer

The relying party issues a challenge and options; the client and authenticator create or use a credential; the server verifies clientDataJSON, type, challenge, origin, RP ID hash, authenticator data flags, credential public key and signature.

Remember

  • WebAuthn ≠ passkeys only.
  • Registration success ≠ account recovery designed.
  • UP flag ≠ UV flag.
  • Signature valid ≠ challenge, origin, RP ID and policy valid automatically.

First checks

  • Browser devtools: navigator.credentials — WebAuthn API
  • Relying party ID config — domain binding
  • Server logs for assertion verification — success

Verify in this order

server challenge → authenticator signs → server verifies

Where it usually breaks

First mismatch in identity lifecycle → authenticator/credential → IdP/federation/session → authorization policy → target resource → audit trail; preserve identity/policy/pre-state before mutation.

Authentication → WebAuthn proof map

BoundaryEstablishDoes not establish
Identity and scopeStable subject/account/resource mapping, owner, lifecycle state and expected actionDoes not prove credential control or effective access
Policy and ceremonyEffective entitlement or authenticator/verifier policy plus all fallback pathsConfiguration presence does not prove enforcement or assurance
OutcomeAllowed, denied, failure, expiry/revoke and target read-back tests correlated with telemetryOne success does not prove every interface, session or downstream target
ClosureOriginal end-to-end action retested; residual access/risk, owner and review trigger recordedAdministrative workflow completion alone is not closure

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4481

Confirmation

Confirm action

Continue?