Added a check at new_with_session on whether the email was blank or not. otherwise the user will not be able to change the email used for registration.
indd
Updated OmniAuth: Overview (markdown)
Fix of security issue...
if you bang the user creation, the else case of @user.persisted? in Users::OmniauthCallbacksController#facebook will never be called.
Revert 266864b9aeb6396cb46f861916a8f7b094ac8751^ ... 266864b9aeb6396cb46f861916a8f7b094ac8751
Destroyed OmniAuth: Overview (markdown)
When using the Google code sample (but with my corporate OpenID provider) I found that I didn't get redirected back to the protected page after login. It turned out that :verify_authenticity_token was wiping my session because no token was present. But I don't think the OpenID server will ever send a token.
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
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