Omniauth: Future Proof Your Authentication
-
Upload
kevin-ball -
Category
Technology
-
view
1.069 -
download
1
description
Transcript of Omniauth: Future Proof Your Authentication
Omniauth
Future Proof Your Authentication
Roadmap
What's Authentication?
Traditional Approach
The Problem
The Solution: Omniauth
What's Authentication?
What's Authentication?
Confirmation of Identity & Privileges
What's Authentication?
Confirmation of Identity & Privileges
What's Authentication?
Confirmation of Identity & Privileges
What's Authentication?
Confirmation of Identity & Privileges
Traditional Approach
Combine Identity & Authentication
Traditional Approach
Combine Identity & Authentication
create_table(:users) do |t| t.string :username t.string :encrypted_passwordend
The Problem
The Problem
The Problem
alter_table :users do |t| t.integer :facebook_uid, :Iimit => 8 t.string :facebook_auth_tokenend
The Problem
alter_table :users do |t| t.integer :facebook_uid, :Iimit => 8 t.string :facebook_auth_tokenend
The Problem
alter_table :users do |t| t.integer :facebook_uid, :Iimit => 8 t.string :facebook_auth_tokenend
The Problem
alter_table :users do |t| t.integer :facebook_uid, :Iimit => 8 t.string :facebook_auth_tokenend
The Problem
alter_table :users do |t| t.integer :facebook_uid, :Iimit => 8 t.string :facebook_auth_tokenend
The Problem
The Solution: Omniauth
Separate Identity from Authentication
The Solution: Omniauth
Separate Identity from Authentication
create_table(:authentications) do |t| t.integer :user_id t.string :provider t.string :uid t.string :tokenend
The Solution: Omniauth
More Info
Learnhttp://railscasts.com/episodes/235-omniauth-part-1http://railscasts.com/episodes/236-omniauth-part-2
Dohttps://github.com/intridea/omniauth