“before_filter :oauth_required” does not work properly for “oauth-plugin”? Gives “Invalid OAuth Request”

51 views
Skip to first unread message

greghauptmann

unread,
Feb 21, 2012, 12:37:48 AM2/21/12
to OAuth Ruby
I am using https://github.com/pelle/oauth-plugin.

When I use "before_filter :oauth_required" at the top of a controller
it fails the controller and gives "Invalid OAuth Request" even though
when I have authorized the action. i.e. if I take this line out my
controller will work properly, calling the google api via oauth and it
works....

Any advice how to fix this? Or is there another approach I should be
using?

Reply all
Reply to author
Forward
0 new messages