omniauth-wordpress-oauth2-plugin
omniauth-wordpress-oauth2-plugin copied to clipboard
fix for jwickard/omniauth-wordpress-oauth2-plugin/issues/10
-
fix OAuth error by request url was unfit
- validated here -> https://github.com/jwickard/wordpress-oauth/blob/c6de8ac2ad0cc3c367f47dc0a28bcaeea732fb01/lib/classes/OAuth2_API.php#L35
- this plugin requests
oauth/token
instead ofoauth/request_token
- this plugin requests
oauth/me
instead ofoauth/request_access
-
I verify this change on below https://github.com/yukimura1227/rails_examples/tree/master/wordpress_rails_sso