Extension:OAuth/en

The OAuth extension implements an OAuth server in MediaWiki that supports both the OAuth 1.0a and OAuth 2.0 protocol versions. It allows third party developers to securely develop applications ("consumers"), to which users can give a limited set of permissions ("grants"), so that the application can use the MediaWiki action API on the user's behalf.

Requirements

 * OAuth relies on the object cache for temporary tokens and sessions. This should work as long as cache configuration settings are sane. (Older versions required Memcached explicitly.)
 * Currently, only mysql and sqlite database backends are supported
 * If the mediawiki installation is private (i.e. users need to log in to have read access), Special:OAuth will need to be added to the white list.

User rights
To assign a permission to some group, for example to sysops, you add following line to :

OAuth 2.0 REST endpoints
The following REST endpoints are provided for OAuth 2.0 interaction

Experimental REST endpoints
To enable the /oauth2/clients endpoints, add the $wgRestAPIAdditionalRouteFiles configuration variable to your LocalSettings.php: