You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When requesting a request token, i get an error:
TypeError (can't convert Hash into Integer):
app/models/client_application.rb:48:in `verify_request'
I backtraced in and figured out that the error is from oauth/rack/oauth_filter.rb:31
oauth_token = client_application.tokens.first(:conditions=>{:token => request_proxy.token})
I think it should be something like this:
oauth_token = client_application.tokens.where(:conditions=>{:token => request_proxy.token}).first
The text was updated successfully, but these errors were encountered:
When requesting a request token, i get an error:
TypeError (can't convert Hash into Integer):
app/models/client_application.rb:48:in `verify_request'
I backtraced in and figured out that the error is from oauth/rack/oauth_filter.rb:31
oauth_token = client_application.tokens.first(:conditions=>{:token => request_proxy.token})
I think it should be something like this:
oauth_token = client_application.tokens.where(:conditions=>{:token => request_proxy.token}).first
The text was updated successfully, but these errors were encountered: