Page MenuHomePhabricator

Users without passkeys and without passkey support in their browser cannot login
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
User doesn't have passkeys and using a browser that does not support passkeys, is unable to login and receives the error:

This browser does not support security key authentication, or it is not available for this website. Please try with a different browser.

The condition they hit seems to be !window.PublicKeyCredential which immediately throws an error.

What should have happened instead?:
Users with browsers not supported passykeys should continue to be able to use normal login

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@Catrope i took a quick gander at the repo, and you might have just fixed this potentially ? But i wanted to make sure that this is indeed the case.

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

[mediawiki/extensions/OATHAuth@master] passwordlessLogin: Don't immediately error out in unsupported browsers

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

Change #1295079 merged by jenkins-bot:

[mediawiki/extensions/OATHAuth@master] passwordlessLogin: Don't immediately error out in unsupported browsers

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

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

[mediawiki/extensions/OATHAuth@wmf/1.47.0-wmf.4] passwordlessLogin: Don't immediately error out in unsupported browsers

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

Change #1295504 merged by jenkins-bot:

[mediawiki/extensions/OATHAuth@wmf/1.47.0-wmf.4] passwordlessLogin: Don't immediately error out in unsupported browsers

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

Mentioned in SAL (#wikimedia-operations) [2026-06-01T20:05:16Z] <catrope@deploy1003> Started scap sync-world: Backport for [[gerrit:1295504|passwordlessLogin: Don't immediately error out in unsupported browsers (T427562)]]

Mentioned in SAL (#wikimedia-operations) [2026-06-01T20:07:00Z] <catrope@deploy1003> catrope: Backport for [[gerrit:1295504|passwordlessLogin: Don't immediately error out in unsupported browsers (T427562)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-06-01T20:12:53Z] <catrope@deploy1003> Finished scap sync-world: Backport for [[gerrit:1295504|passwordlessLogin: Don't immediately error out in unsupported browsers (T427562)]] (duration: 07m 37s)

TheDJ assigned this task to Catrope.