perrybutler/WP-OAuth — pull request #2 by larsschenk (2014-12-12 12:14:35+00:00)
Title: Use site_url() instead of SERVER_NAME for Redirect URI.

Tested with Heroku. On Heroku the SERVER_NAME resolves to localhost. With wordpress function site_url() it will resolve to what the WP admin has set of the site.

Important fix to make this plugin work "in the cloud".