pelle / oauth-plugin

Rails plugin for OAuth
http://stakeventures.com/articles/2009/07/21/consuming-oauth-intelligently-in-rails
MIT License
716 stars 216 forks source link

grant_type option #72

Closed jamierytlewski closed 13 years ago

jamierytlewski commented 13 years ago

I've been trying to find it in the code, but I can't seem to find out where it needs to go, but I think another option that needs to be added to the OAUTH_CREDENTIALS is for grant_type. They grant_type does not seem to be passed along. One of the APIs that I use is requiring the grant_type now. That is the one that is not working with the plugin. I have no problem with Foursquare, which doesn't use the grant_type, but Runkeeper does. I know people brought it up as an issue here:

https://github.com/intridea/oauth2/issues/34

I am getting the same error and most of the suggestions was to put in the grant_type.

jamierytlewski commented 13 years ago

This was something silly on my part...I figured it out now.

maysam commented 12 years ago

so what is the answer?