{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/771f52b5b1d9889ded1391e182b44dbb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"771f52b5b1d9889ded1391e182b44dbb","url":"https://api.github.com/users/millisami","login":"millisami","id":47914},"milestone":null,"labels":[],"updated_at":"2011-11-05T18:22:23Z","assignee":null,"comments":9,"closed_at":"2011-11-05T14:49:40Z","url":"https://api.github.com/repos/NoamB/sorcery/issues/109","body":"Following the External wiki page, Well now I could redirect to facebook and when redirects to the app, it blows up saying:\r\n\r\n```\r\nNoMethodError in OauthsController#oauth\r\n\r\nundefined method `callback' for Sorcery::Controller::Config:Module\r\n```\r\n\r\nThe application backtrace:\r\n\r\n```\r\nsorcery (0.7.2) lib/sorcery/controller/submodules/external.rb:35:in `login_at'\r\napp/controllers/oauths_controller.rb:6:in `oauth'\r\nactionpack (3.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'\r\nactionpack (3.1.0) lib/abstract_controller/base.rb:167:in `process_action'\r\nactionpack (3.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action'\r\nactionpack (3.1.0) lib/abstract_controller/callbacks.rb:18:in `block in process_action'\r\nactivesupport (3.1.0) lib/active_support/callbacks.rb:416:in `_run__838628786599538588__process_action__3672083801768509340__callbacks'\r\nactivesupport (3.1.0) lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'\r\nactivesupport (3.1.0) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\nactionpack (3.1.0) lib/abstract_controller/callbacks.rb:17:in `process_action'\r\nactionpack (3.1.0) lib/action_controller/metal/rescue.rb:17:in `process_action'\r\nactionpack (3.1.0) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'\r\nactivesupport (3.1.0) lib/active_support/notifications.rb:53:in `block in instrument'\r\nactivesupport (3.1.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'\r\nactivesupport (3.1.0) lib/active_support/notifications.rb:53:in `instrument'\r\nactionpack (3.1.0) lib/action_controller/metal/instrumentation.rb:29:in `process_action'\r\nactionpack (3.1.0) lib/action_controller/metal/params_wrapper.rb:201:in `process_action'\r\nactiverecord (3.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'\r\nactionpack (3.1.0) lib/abstract_controller/base.rb:121:in `process'\r\nactionpack (3.1.0) lib/abstract_controller/rendering.rb:45:in `process'\r\nactionpack (3.1.0) lib/action_controller/metal.rb:193:in `dispatch'\r\nactionpack (3.1.0) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'\r\nactionpack (3.1.0) lib/action_controller/metal.rb:236:in `block in action'\r\nactionpack (3.1.0) lib/action_dispatch/routing/route_set.rb:65:in `call'\r\nactionpack (3.1.0) lib/action_dispatch/routing/route_set.rb:65:in `dispatch'\r\nactionpack (3.1.0) lib/action_dispatch/routing/route_set.rb:29:in `call'\r\nrack-mount (0.8.3) lib/rack/mount/route_set.rb:152:in `block in call'\r\nrack-mount (0.8.3) lib/rack/mount/code_generation.rb:96:in `block in recognize'\r\nrack-mount (0.8.3) lib/rack/mount/code_generation.rb:75:in `optimized_each'\r\nrack-mount (0.8.3) lib/rack/mount/code_generation.rb:95:in `recognize'\r\nrack-mount (0.8.3) lib/rack/mount/route_set.rb:141:in `call'\r\nactionpack (3.1.0) lib/action_dispatch/routing/route_set.rb:531:in `call'\r\nclient_side_validations (3.1.1) lib/client_side_validations/middleware.rb:18:in `call'\r\nactionpack (3.1.0) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'\r\nrack (1.3.5) lib/rack/etag.rb:23:in `call'\r\nrack (1.3.5) lib/rack/conditionalget.rb:25:in `call'\r\nactionpack (3.1.0) lib/action_dispatch/middleware/head.rb:14:in `call'\r\nactionpack (3.1.0) lib/action_dispatch/middleware/params_parser.rb:21:in `call'\r\nactionpack (3.1.0) lib/action_dispatch/middleware/flash.rb:243:in `call'\r\nrack (1.3.5) lib/rack/session/abstract/id.rb:195:in `context'\r\nrack (1.3.5) lib/rack/session/abstract/id.rb:190:in `call'\r\nactionpack (3.1.0) lib/action_dispatch/middleware/cookies.rb:326:in `call'\r\nactiverecord (3.1.0) lib/active_record/query_cache.rb:62:in `call'\r\nactiverecord (3.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'\r\nactionpack (3.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\r\nactivesupport (3.1.0) lib/active_support/callbacks.rb:392:in `_run_call_callbacks'\r\nactivesupport (3.1.0) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\nactionpack (3.1.0) lib/action_dispatch/middleware/callbacks.rb:28:in `call'\r\nactionpack (3.1.0) lib/action_dispatch/middleware/reloader.rb:68:in `call'\r\nrack (1.3.5) lib/rack/sendfile.rb:101:in `call'\r\nactionpack (3.1.0) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'\r\nactionpack (3.1.0) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'\r\nrailties (3.1.0) lib/rails/rack/logger.rb:13:in `call'\r\nrack (1.3.5) lib/rack/methodoverride.rb:24:in `call'\r\nrack (1.3.5) lib/rack/runtime.rb:17:in `call'\r\nactivesupport (3.1.0) lib/active_support/cache/strategy/local_cache.rb:72:in `call'\r\nrack (1.3.5) lib/rack/lock.rb:15:in `call'\r\nactionpack (3.1.0) lib/action_dispatch/middleware/static.rb:53:in `call'\r\nrailties (3.1.0) lib/rails/engine.rb:455:in `call'\r\nrailties (3.1.0) lib/rails/railtie/configurable.rb:30:in `method_missing'\r\n/Users/millisami/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:146:in `handle'\r\n/Users/millisami/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start'\r\n/Users/millisami/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start'\r\n/Users/millisami/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:86:in `each'\r\n/Users/millisami/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:86:in `block in start'\r\n/Users/millisami/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:66:in `loop'\r\n/Users/millisami/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:66:in `start'\r\n/Users/millisami/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:13:in `run'\r\n/Users/millisami/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/bin/nack_worker:4:in `<main>'\r\n```","html_url":"https://github.com/NoamB/sorcery/issues/109","number":109,"title":"undefined method `callback' for Sorcery::Controller::Config:Module","id":2048788,"created_at":"2011-10-25T19:27:46Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/70c4bd7e0285f65904db146c972e84f0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"70c4bd7e0285f65904db146c972e84f0","url":"https://api.github.com/users/NoamB","login":"NoamB","id":9786},"updated_at":"2011-11-05T18:22:23Z","url":"https://api.github.com/repos/NoamB/sorcery/issues/comments/2641682","body":"updated wiki as per suggestion @davidbalbert.","id":2641682,"created_at":"2011-11-05T18:22:23Z"}}