intridea/omniauth — Issue #533: omniauth param provider missing on callback
Author: bhellman1
Created: 2011-11-03 18:54:13+00:00
State: open

With omniauth 0.3.2, I'm noticing the following. If you're signed into FB:

If you click ALLOW, you get something like:

Started GET "/users/auth/facebook/callback?code=XXX" for 127.0.0.1 at 2011-11-03 11:36:51 -0700
Processing by AuthenticationsController#create as HTML
Parameters: {"code"=>"XXX", "provider"=>"facebook"}

If you click DENY, you get:

Started GET "/users/auth/facebook/callback?error_reason=user_denied&error=access_denied&error_description=The+user+denied+your+request." for 127.0.0.1 at 2011-11-03 11:36:23 -0700
Processing by AuthenticationsController#failure as HTML
Parameters: {"error_reason"=>"user_denied", "error"=>"access_denied", "error_description"=>"The user denied your request."}

But here's where it breaks. If you are not signed into FB, and click click to FB connect. After signing in successfully you get this:

Started GET "/users/auth/facebook/callback?code=XXX" for 127.0.0.1 at 2011-11-03 11:33:18 -0700
Processing by AuthenticationsController#failure as HTML
Parameters: {"code"=>"XXX"}

This was successful but for some reason the provider param is missing. If you sign out of FB to test this, you have to restart your browser to get the error.

Has anyone else seen this?