SlideShare a Scribd company logo
1 of 22
Download to read offline
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_password
end
The Problem
The Problem
The Problem


alter_table :users do |t|
 t.integer :facebook_uid, :Iimit => 8
 t.string :facebook_auth_token
end
The Problem


alter_table :users do |t|
 t.integer :facebook_uid, :Iimit => 8
 t.string :facebook_auth_token
end
The Problem


alter_table :users do |t|
 t.integer :facebook_uid, :Iimit => 8
 t.string :facebook_auth_token
end
The Problem


alter_table :users do |t|
 t.integer :facebook_uid, :Iimit => 8
 t.string :facebook_auth_token
end
The Problem


alter_table :users do |t|
 t.integer :facebook_uid, :Iimit => 8
 t.string :facebook_auth_token
end
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 :token
end
The Solution: Omniauth
More Info
Learn
  http://railscasts.com/episodes/235-omniauth-part-1
  http://railscasts.com/episodes/236-omniauth-part-2

Do
  https://github.com/intridea/omniauth
Thanks!


        Kevin Ball
         @kbal11
kball@fashioningchange.com

More Related Content

Similar to Omniauth: Future Proof Your Authentication

Development of Twitter Application #5 - Users
Development of Twitter Application #5 - UsersDevelopment of Twitter Application #5 - Users
Development of Twitter Application #5 - UsersMyungjin Lee
 
Startup Metrics for Pirates (SeedCamp 2008)
Startup Metrics for Pirates (SeedCamp 2008)Startup Metrics for Pirates (SeedCamp 2008)
Startup Metrics for Pirates (SeedCamp 2008)Dave McClure
 
Membership Application (CiviCRM)
Membership Application (CiviCRM)Membership Application (CiviCRM)
Membership Application (CiviCRM)Wouter Hechtermans
 
Online rto management system
Online rto management system Online rto management system
Online rto management system DigneshPrajapati1
 
Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)
Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)
Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)Dave McClure
 
Startup Metrics 4 Pirates (May 2010)
Startup Metrics 4 Pirates (May 2010)Startup Metrics 4 Pirates (May 2010)
Startup Metrics 4 Pirates (May 2010)Dave McClure
 
Startup Metrics for Pirates (Chicago, Aug 2010)
Startup Metrics for Pirates (Chicago, Aug 2010)Startup Metrics for Pirates (Chicago, Aug 2010)
Startup Metrics for Pirates (Chicago, Aug 2010)Dave McClure
 
CommonFloor Groups Pre-sales Brochure Digital
CommonFloor Groups Pre-sales Brochure Digital CommonFloor Groups Pre-sales Brochure Digital
CommonFloor Groups Pre-sales Brochure Digital Tarun Verma
 
Startup Metrics 4 Pirates (Montreal, May 2010)
Startup Metrics 4 Pirates (Montreal, May 2010)Startup Metrics 4 Pirates (Montreal, May 2010)
Startup Metrics 4 Pirates (Montreal, May 2010)Dave McClure
 
Startup Metrics for Pirates (Startonomics Beijing, June 2009)
Startup Metrics for Pirates (Startonomics Beijing, June 2009)Startup Metrics for Pirates (Startonomics Beijing, June 2009)
Startup Metrics for Pirates (Startonomics Beijing, June 2009)Dave McClure
 
Foursquare check out
Foursquare check outFoursquare check out
Foursquare check outSara
 
Startupmetrics 4 Pirates (Haas April, 2010)
Startupmetrics 4 Pirates (Haas April, 2010)Startupmetrics 4 Pirates (Haas April, 2010)
Startupmetrics 4 Pirates (Haas April, 2010)Dave McClure
 
MembershipReboot & Thinktecture: The Paradigms in Authentication &Authorizati...
MembershipReboot & Thinktecture: The Paradigms in Authentication &Authorizati...MembershipReboot & Thinktecture: The Paradigms in Authentication &Authorizati...
MembershipReboot & Thinktecture: The Paradigms in Authentication &Authorizati...Nur Fatihah Mat Ali
 
How to Configure Payment Methods in Magento
How to Configure Payment Methods in MagentoHow to Configure Payment Methods in Magento
How to Configure Payment Methods in MagentoM-Connect Media
 
"Auth for React.js APP", Nikita Galkin
"Auth for React.js APP", Nikita Galkin"Auth for React.js APP", Nikita Galkin
"Auth for React.js APP", Nikita GalkinFwdays
 
TechSupportCh 21 project.doc1Projects.doc Project 21-.docx
TechSupportCh 21 project.doc1Projects.doc Project 21-.docxTechSupportCh 21 project.doc1Projects.doc Project 21-.docx
TechSupportCh 21 project.doc1Projects.doc Project 21-.docxmattinsonjanel
 
Marketing Metrics 4 Pirates (July 2010)
Marketing Metrics 4 Pirates (July 2010)Marketing Metrics 4 Pirates (July 2010)
Marketing Metrics 4 Pirates (July 2010)Dave McClure
 

Similar to Omniauth: Future Proof Your Authentication (20)

Development of Twitter Application #5 - Users
Development of Twitter Application #5 - UsersDevelopment of Twitter Application #5 - Users
Development of Twitter Application #5 - Users
 
Startup Metrics for Pirates (SeedCamp 2008)
Startup Metrics for Pirates (SeedCamp 2008)Startup Metrics for Pirates (SeedCamp 2008)
Startup Metrics for Pirates (SeedCamp 2008)
 
Membership Application (CiviCRM)
Membership Application (CiviCRM)Membership Application (CiviCRM)
Membership Application (CiviCRM)
 
Service Provider
Service Provider Service Provider
Service Provider
 
Online rto management system
Online rto management system Online rto management system
Online rto management system
 
Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)
Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)
Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)
 
Startup Metrics 4 Pirates (May 2010)
Startup Metrics 4 Pirates (May 2010)Startup Metrics 4 Pirates (May 2010)
Startup Metrics 4 Pirates (May 2010)
 
Startup Metrics for Pirates (Chicago, Aug 2010)
Startup Metrics for Pirates (Chicago, Aug 2010)Startup Metrics for Pirates (Chicago, Aug 2010)
Startup Metrics for Pirates (Chicago, Aug 2010)
 
CommonFloor Groups Pre-sales Brochure Digital
CommonFloor Groups Pre-sales Brochure Digital CommonFloor Groups Pre-sales Brochure Digital
CommonFloor Groups Pre-sales Brochure Digital
 
Incident_Change_Resource_Detailed_Resume
Incident_Change_Resource_Detailed_ResumeIncident_Change_Resource_Detailed_Resume
Incident_Change_Resource_Detailed_Resume
 
Startup Metrics 4 Pirates (Montreal, May 2010)
Startup Metrics 4 Pirates (Montreal, May 2010)Startup Metrics 4 Pirates (Montreal, May 2010)
Startup Metrics 4 Pirates (Montreal, May 2010)
 
Startup Metrics for Pirates (Startonomics Beijing, June 2009)
Startup Metrics for Pirates (Startonomics Beijing, June 2009)Startup Metrics for Pirates (Startonomics Beijing, June 2009)
Startup Metrics for Pirates (Startonomics Beijing, June 2009)
 
Foursquare check out
Foursquare check outFoursquare check out
Foursquare check out
 
Startupmetrics 4 Pirates (Haas April, 2010)
Startupmetrics 4 Pirates (Haas April, 2010)Startupmetrics 4 Pirates (Haas April, 2010)
Startupmetrics 4 Pirates (Haas April, 2010)
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
MembershipReboot & Thinktecture: The Paradigms in Authentication &Authorizati...
MembershipReboot & Thinktecture: The Paradigms in Authentication &Authorizati...MembershipReboot & Thinktecture: The Paradigms in Authentication &Authorizati...
MembershipReboot & Thinktecture: The Paradigms in Authentication &Authorizati...
 
How to Configure Payment Methods in Magento
How to Configure Payment Methods in MagentoHow to Configure Payment Methods in Magento
How to Configure Payment Methods in Magento
 
"Auth for React.js APP", Nikita Galkin
"Auth for React.js APP", Nikita Galkin"Auth for React.js APP", Nikita Galkin
"Auth for React.js APP", Nikita Galkin
 
TechSupportCh 21 project.doc1Projects.doc Project 21-.docx
TechSupportCh 21 project.doc1Projects.doc Project 21-.docxTechSupportCh 21 project.doc1Projects.doc Project 21-.docx
TechSupportCh 21 project.doc1Projects.doc Project 21-.docx
 
Marketing Metrics 4 Pirates (July 2010)
Marketing Metrics 4 Pirates (July 2010)Marketing Metrics 4 Pirates (July 2010)
Marketing Metrics 4 Pirates (July 2010)
 

More from Kevin Ball

Flexible UI Components for a Multi-Framework World
Flexible UI Components for a Multi-Framework WorldFlexible UI Components for a Multi-Framework World
Flexible UI Components for a Multi-Framework WorldKevin Ball
 
Modern javascript
Modern javascriptModern javascript
Modern javascriptKevin Ball
 
Npm Shrinkwrap
Npm ShrinkwrapNpm Shrinkwrap
Npm ShrinkwrapKevin Ball
 
Understanding the Nesting Structure of the Ember.js View Layer
Understanding the Nesting Structure of the Ember.js View LayerUnderstanding the Nesting Structure of the Ember.js View Layer
Understanding the Nesting Structure of the Ember.js View LayerKevin Ball
 
Intro to Javascript
Intro to JavascriptIntro to Javascript
Intro to JavascriptKevin Ball
 
Ruby 1.9 Fibers
Ruby 1.9 FibersRuby 1.9 Fibers
Ruby 1.9 FibersKevin Ball
 

More from Kevin Ball (7)

Flexible UI Components for a Multi-Framework World
Flexible UI Components for a Multi-Framework WorldFlexible UI Components for a Multi-Framework World
Flexible UI Components for a Multi-Framework World
 
Modern javascript
Modern javascriptModern javascript
Modern javascript
 
Npm Shrinkwrap
Npm ShrinkwrapNpm Shrinkwrap
Npm Shrinkwrap
 
Understanding the Nesting Structure of the Ember.js View Layer
Understanding the Nesting Structure of the Ember.js View LayerUnderstanding the Nesting Structure of the Ember.js View Layer
Understanding the Nesting Structure of the Ember.js View Layer
 
Intro to Javascript
Intro to JavascriptIntro to Javascript
Intro to Javascript
 
Underscore.js
Underscore.jsUnderscore.js
Underscore.js
 
Ruby 1.9 Fibers
Ruby 1.9 FibersRuby 1.9 Fibers
Ruby 1.9 Fibers
 

Recently uploaded

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 

Recently uploaded (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

Omniauth: Future Proof Your Authentication