learning devise

8
AUTHENTICATION WITH DEVISE & OMNIAUTH DUBLIN LEARNING RUBY-ON-RAILS MEETUP

Upload: adrien-siami

Post on 16-Feb-2017

17 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Learning devise

AUTHENTICATION WITH DEVISE & OMNIAUTH

DUBLIN LEARNING RUBY-ON-RAILS MEETUP

Page 2: Learning devise

Wifi

SSID: Digital_Hub_Events Password : exchange

Page 3: Learning devise

DUBLIN LEARNING RUBY-ON-RAILS MEETUP

ADRIEN SIAMI

▸ 24

▸ !

▸ Software engineer, Homestay.com

▸ Started ruby in 2009

Page 4: Learning devise

DEVISE ? OMNIAUTH ? WTH ?

Page 5: Learning devise

DUBLIN LEARNING RUBY-ON-RAILS MEETUP

WHAT’S DEVISE ?

▸ Authentication solution

▸ Distributed as a gem

▸ Provides loads of modules ( Password confirmation, recovery, lock, etc. )

Page 6: Learning devise

DUBLIN LEARNING RUBY-ON-RAILS MEETUPTEXT

WHAT’S OMNIAUTH ?

▸ Multi-Provider Authentication

▸ Based on what they call Strategies (e.g Facebook, twitter, etc)

▸ Integrated into devise (omniauthable module)

Page 7: Learning devise

DUBLIN LEARNING RUBY-ON-RAILS MEETUP

WORKSHOP GOALS

▸ Set up a basic authentication system with devise

▸ add useful modules (remember me, recover password, etc)

▸ Integrate omniauth and add log-in with a platform of your choice

Page 8: Learning devise

LIVE CODING DEMO

https://github.com/dublin-learning-ruby-on-rails/learning-devise