OAuth 2 client credential flows were implemented incorrectly within the
OAuth <https://www.mediawiki.org/wiki/Extension:OAuth> extension. Access
tokens obtained via client credentials were treated as anonymous. This
issue applies to both Wikimedia wikis and third parties. Starting MediaWiki
1.47, this is fixed, and such access tokens will authenticate as the user
who registered the client.
To avoid sudden changes, the correct behavior will be tied to a cutover
date (ie. existing client registrations will keep receiving anonymous
access tokens for client credentials; clients registered after the cutover
date will receive tokens that authenticate as the client owner). On
Wikimedia wikis, this date is October 19 (next Monday). On third-party
wikis, you can set one via $wgOAuth2ClientCredentialsOwnerAuthCutover.
See T420297 <https://phabricator.wikimedia.org/T420297> for more
information.
--
Gergő Tisza
Staff Software Engineer, Core Platform
Wikimedia Foundation
_______________________________________________
Mediawiki-api-announce mailing list -- mediawiki-api-announce(a)lists.wikimedia.org
To unsubscribe send an email to mediawiki-api-announce-leave(a)lists.wikimedia.org