pelle / oauth-plugin

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

The action 'callback' could not be found for OauthConsumersController #44

Closed wallezhang closed 13 years ago

wallezhang commented 13 years ago

Hi~ I want to connect with an oauth provider. I follow the instruction step by step, however on the redirected path (/oauth_consumers/sina/callback) I get an "Unknown action" error (The action 'callback' could not be found for OauthConsumersController).

What should I do? Thanks a lot!

joybro commented 13 years ago

Hi, hot88zh.

I was suffering from the same problem, but not anymore. A bug patch about it was committed to trunk about a month ago.

Refer to https://github.com/3en/oauth-plugin/commit/e01655bb9d71482235758ab51f563fd6a7d4e9b4

My oauth-plugin works well after I patched it to my oauth_consumers_controller.rb

Good Luck.

wallezhang commented 13 years ago

oh!~it does work! Thanks joybro :)