I just got through this, pretty annoying and there are a lot of old and misleading threads connecting Omniauth / Devise / Facebook. Hopefully this will keep people from wasting their time debugging this.
Remove (my) bad code
updated sample code, google returns a slightly different result now
Updated OmniAuth: Overview (markdown)
Reversing recent update as original was correct
syntax error in User::OmniauthCallbacksController declaration
Clarified that the "catch all" route is only needed if you have route globbing. Otherwise it's a confusing and needless step.
typo
Auth Hash Schema has been updated in OmniAuth (1.0 and Later)
Fix omniauth examples.
another typo
Changed heading size to fit with existing scheme, was previously nested under Google/OpenID heading
Added note about LI's API not providing the email and the use of "id" in its place
Added examples for Linkedin
Just made a fool of myself. Reverting.
Revised the Google example to be actually working. Someone else should take a look at the OpenID variant.
Clean up omniauth guide.
access_token is an object since omniauth 1.0, not an array