Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: dgarzon
Hi guys, I have been trying to get everything mentioned in the video but for some reason I can't get my omniauth data stored in a session for when a new user registers. Everything else works, I can add an authentication to a user and sign in with it.
in authentications_controller.rb I have:
session[:auth] = auth.except('extra')
in registrations_controller.rb I have
session[:omniauth] = nil
In the terminal log I can see that the authentications for the user are getting built but once the user registers the authentication does not save and he has to add it again. What am I doing wrong? I can't figure it out!
Thanks in advance.