Extension:OAuth

The OAuth extension implements an OAuth server in MediaWiki that supports both the [ https://oauth.net/core/1.0a/ OAuth 1.0a] and [ https://oauth.net/2/ 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 experimental REST endpoints, add the configuration variable to your LocalSettings.php :