Updated version of oauth_plugin