Slides from my talk at the Eastside Incubator's Rails Chat series.
With so many authentication solutions out there (Devise, OmniAuth, AuthLogic, just to name a few), this slide deck goes through various options, and guides with choosing the best authentication solution for your app.
The deck covers following areas...
Your Own Auth (Authentication from Scratch)
Your Own Auth With Facebook Connect
OmniAuth (Facebook + Twitter)
OmniAuth (Facebook + Twitter + Identity)
Devise (+ Omniauthable, example includes Facebook and Twitter)
All source code for this talk is available on GitHub at https://github.com/mvaidya/Authentication-In-Rails
A Journey Into the Emotions of Software Developers
Authentication in-rails
1.
2. Experience Technologies
V.P. Engineering
Dec 2011 - now
Software Engineer
August 2010 – Dec 2011
Software Engineer
Mihir A. Vaidya Feb 2006 – August 2010
Co-Founder and
V.P. Engineering
ReadyPulse
Software Engineer
https://www.linkedin.com/in/vaidyamihir May 2004 – Feb 2006
https://twitter.com/mihirvaidya
Researcher
May 2003 – May 2004
23. •
–
provider :identity, on_failed_registration: lambda { |env|
# lambda is used so that the class IdentitiesController is not cached (important for dev environment).
# That way, changes to the controller will be picked up automatically since
# lamda is the rack application to handle failures and not IndentitiesController#new directly
IdentitiesController.action(:new).call(env)
}