我不断收到此错误
OAuth::Unauthorized in OauthsController#callback
401未经授权
在此行中的 oauth_controller 错误 --- @user = login_from(provider)
我正在使用巫术 0.7.7
我的框架跟踪
oauth (0.4.6) lib/oauth/consumer.rb:216:in `token_request'
oauth (0.4.6) lib/oauth/tokens/request_token.rb:18:in `get_access_token'
sorcery (0.7.7) lib/sorcery/controller/submodules/external/protocols/oauth1.rb:22:in `get_access_token'
sorcery (0.7.7) lib/sorcery/controller/submodules/external/providers/twitter.rb:81:in `process_callback'
sorcery (0.7.7) lib/sorcery/controller/submodules/external.rb:46:in `login_from'
actionpack (3.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.1.0) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.1.0) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.1.0) lib/active_support/callbacks.rb:443:in `_run__203834006__process_action__491933260__callbacks'
activesupport (3.1.0) lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
activesupport (3.1.0) lib/active_support/callbacks.rb:81:in `run_callbacks'