arunagw/omniauth-twitter — Issue #6: Issue with twitter OAuth Callback
Author: saurabhbhatia
Created: 2011-11-18 11:26:12+00:00
State: open

When I try to include the latest Omniauth and Omniauth-twitter get in my app, OAuth Callback gives the following error .
What I see is does sent a UID back which means the twitter auth is successful but it is giving invalid response and looking for the failure url.

Started GET "/auth/twitter/callback?oauth_token=sYeZBEHkthC1Zl4OZpbBlk9BgtkLOJgLsSASrkff2c&oauth_verifier=gOHr1nlKeNhGycIQnoDvvFt3k20c37m3vlrrlsl8U" for 127.0.0.1 at 2011-11-18 16:46:37 +0530
Processing by SessionsController#create as HTML
Parameters: {"oauth_token"=>"sYeZBEHkthC1Zl4OZpbBlk9BgtkLOJgLsSASrkff2c", "oauth_verifier"=>"gOHr1nlKeNhGycIQnoDvvFt3k20c37m3vlrrlsl8U", "provider"=>"twitter"}

Authorization Load (0.2ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."provider" = 'twitter' AND "authorizations"."uid" = '16867223' LIMIT 1
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
Completed 500 Internal Server Error in 231ms

Started GET "/auth/failure?message=invalid_response" for 127.0.0.1 at 2011-11-18 16:46:41 +0530