Skip to content

Document conditional WebAuthn credential creation - #45361

Open
tahakotil wants to merge 1 commit into
mdn:mainfrom
tahakotil:docs/webauthn-conditional-create
Open

Document conditional WebAuthn credential creation#45361
tahakotil wants to merge 1 commit into
mdn:mainfrom
tahakotil:docs/webauthn-conditional-create

Conversation

@tahakotil

Copy link
Copy Markdown

Description

Documents conditional credential creation (automatic passkey creation) across the relevant WebAuthn pages:

  • adds the mediation option, rejection behavior, and a conditional creation example to CredentialsContainer.create()
  • separates automatic passkey creation from authentication autofill in the Web Authentication API overview
  • clarifies what the conditionalCreate client capability represents

The behavior and terminology follow the Credential Management specification change in w3c/webappsec-credential-management#224.

Motivation

Developers could discover conditionalCreate in getClientCapabilities(), but MDN did not explain how to use mediation: "conditional" with navigator.credentials.create() or how that behavior differs from conditional get()/autofill.

Additional details

  • Markdownlint: 0 issues across the three changed pages
  • Prettier: all three pages pass
  • CSpell: 0 issues across the three changed pages
  • Rari build with warnings denied: 3 pages built, no issues found

Fixes #42516

@tahakotil
tahakotil requested a review from a team as a code owner August 28, 2026 03:03
@tahakotil
tahakotil requested review from sideshowbarker and removed request for a team August 28, 2026 03:04
@github-actions github-actions Bot added Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed labels Aug 28, 2026
@sideshowbarker
sideshowbarker removed their request for review August 30, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed

2 participants