Specifically:
My Rails app works great if I call
/auth/facebook/callback or /auth/facebook/callback?format=json
/auth/facebook/callback
/auth/facebook/callback?format=json
but when i try to call
/auth/facebook/callback.json
no request.env["omniauth.auth"] (it nil)
request.env["omniauth.auth"]
Any ideas on what's going on?
Since the .json extension for the URL means that you have either the .json view for this method, or respond to the json format.
Although this should be omniauth handling in the redirect ... it cannot work.