Page MenuHomePhabricator

Wikimedia Global Search won't let me log in (all mediawiki/oauthclient users broken)
Closed, ResolvedPublic

Event Timeline

On IRC it was said:

if its a oauth1 user, it appears there was a bit of a surprise breaking change
bawolfs comment in -tech
this was the change that was referenced
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/OAuth/+/1304678
but i havnt seen any tasks popup

Maybe that's a hint?

global search uses wikimedia/toolforge-bundle which uses mediawiki/oauthclient. And mediawiki/oauthclient uses format=json wouldn't you know.

Change #1305510 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/oauthclient-php@master] Parse form-encoded OAuth 1 token responses instead of format=json

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

cscott triaged this task as Unbreak Now! priority.Jun 24 2026, 9:51 PM

Elevating priority because this breaks 3rd party login (including wmf cloud login) to Wikimedia servers for all downstream apps using the mediawiki/oauthclient package (and there's quite a lot of dependencies of that in https://packagist.org/packages/mediawiki/oauthclient/dependents?order_by=downloads ).

Suggested fix is to backport the revert in Revert "Fix format=json option for OAuth 1" (1305512) · Gerrit Code Review to wmf.8.

At a more leisurely pace, the upstream mediawiki/oauthclient can be upgraded to avoid using format=json via Parse form-encoded OAuth 1 token responses instead of format=json (1305510) · Gerrit Code Review and enough downstream clients update, we could reply the patch to the OAuth extension.

cscott renamed this task from Wikimedia Global Search won't let me log in to Wikimedia Global Search won't let me log in (all mediawiki/oauth clients broken).Jun 24 2026, 9:54 PM
cscott renamed this task from Wikimedia Global Search won't let me log in (all mediawiki/oauth clients broken) to Wikimedia Global Search won't let me log in (all mediawiki/oauthclient users broken).

Mentioned in SAL (#wikimedia-operations) [2026-06-24T23:10:07Z] <tgr_> doing an emergency backport for T430092

Sorry for causing trouble.