Page MenuHomePhabricator

Display a "login with passkey" button if the user has logged in with a passkey before
Open, Needs TriagePublic

Description

When a user logs in with a passkey, set a cookie indicating this. When this cookie is detected, display a "Login with passkey" button on the login form that prompts for a passkey.

image.png (421×478 px, 35 KB)

Event Timeline

I'm sure there was a task about this at some point.. Whether it got declined or otherwise is a different issue.

But this seems to work well in a longer term use case of "sequential login" -- ie you don't enter your username and password on the same page, you enter your username, click login, and then you can be presented a passkey or password login type experience as appropriate.

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

[mediawiki/extensions/OATHAuth@master] Add "Log in with passkey" button when reauthenticating

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

Change #1281399 merged by jenkins-bot:

[mediawiki/extensions/OATHAuth@master] Add "Log in with passkey" button when reauthenticating

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