This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

OAuth Provider


This plugin is experimental and is enable to make your site an OAuth provider.
Currently the plugin offers features as below:

  • Registering applications (obtaining a Consumer Key).
  • Issuing an Access Token.
  • Using the obtained Consumer Key and the Access Token, you can register a method which is executed after connected.
  • Using the obtained Consumer Key and the Access Token, you can execute the registered method.

PHP5 Required.

Special thx to DigitalCube Co. Ltd.!

Thx. Robert!
So, what I’ve noticed is that in this file one parameter is called “callbackurl” which should be called “oauth_callback”, according to the rfc:


“OAuth Provider” has been translated into languages. Our thanks and appreciation must go to the following for their contributions:

  • French (fr_FR) – Jeremy Castellano
  • Japanese (ja) – OKAMOTO Wataru (plugin author)

If you have translated into your language, please let me know.


  1. Upload the entire oauth-provider folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

The control panel of OAuth Provider is in ‘OAuth Provider’.

After enabled this plugin, you can access URLs as below:
(suppose your WordPress’s URL is

  • The URL to obtain a Request Token.
  • The URL to obtain User authorization.
  • The URL to issue an Access Token.
  • name) The URL to call a OAuth method using a Consumer key and an Access Token.

The OAuth method sayHello, which is implemented in this plugin for now, is simply returning a user name.

You can register a method using add_oauth_method($name, $method).
You can use this function like add_filter().

You can easily add the sayHello method like below:
add_oauth_method(‘sayHello’, create_function(‘$request, $userid, $username’, ‘return “Hello {$username}!”;’));

To execute the registered sayHello method, access the URL below:




There are no reviews for this plugin.

Contributors & Developers

“OAuth Provider” is open source software. The following people have contributed to this plugin.


Translate “OAuth Provider” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


0.5.4 – July 16, 2013
Added languages/oauth-provider-fr_FR.po and .mo

0.5.3 – December 4, 2012
callbackurl should be oauth_callback (on the authorize form)
port numbers on callback urls should be preserved.
thx. timginn (

0.3.2 – August 17, 2012
Parameter is called “callbackurl” which should be called “oauth_callback”.

0.3.1 – August 1, 2011
Minor bug fix.

0.3.0 – July 27, 2011
Added login form.

0.2.0 – July 27, 2011
Initial release.