Page MenuHomePhabricator

Redesign passkey creation form
Closed, ResolvedPublic

Description

Replace the passkey creation form with a Codex dialog that explains what passkeys are and contains a simple "Add" button, without a name input.

image.png (440×287 px, 23 KB)

(@KieranMcCann-WMF is still refining the design and language)

  • When the "Add a passkey" button is clicked, open a Codex dialog instead of navigating to WebAuthnAddKeyForm
  • When the user clicks the "Add" button, create their passkey
    • To enable this, create an action API endpoint for creating a passkey
  • Automatically generate a name for the passkey (this can be something simple until T410938 is done)

Event Timeline

Catrope renamed this task from Redesign passkey creation form, auto-generate passkey name to Redesign passkey creation form.Nov 24 2025, 6:38 PM
Catrope raised the priority of this task from Medium to High.
Catrope updated the task description. (Show Details)

Attaching SVG of illustration. This has been optimised using our custom SVG preset. cc @Catrope

Change #1217601 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/extensions/OATHAuth@master] Initial version of passkey dialog

https://gerrit.wikimedia.org/r/1217601

Test wiki created on Patch demo by Roan Kattouw (WMF) using patch(es) linked to this task:
https://055c4e196c.catalyst.wmcloud.org/w/

Change #1217605 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/extensions/WebAuthn@master] Expose mw.ext.WebAuthn.Registrator as its own module

https://gerrit.wikimedia.org/r/1217605

Change #1217605 merged by jenkins-bot:

[mediawiki/extensions/WebAuthn@master] Expose mw.ext.WebAuthn.Registrator as its own module

https://gerrit.wikimedia.org/r/1217605

Change #1217601 merged by jenkins-bot:

[mediawiki/extensions/OATHAuth@master] Initial version of passkey dialog

https://gerrit.wikimedia.org/r/1217601

Test wiki on Patch demo by Roan Kattouw (WMF) using patch(es) linked to this task was deleted:

https://055c4e196c.catalyst.wmcloud.org/w/