SlideShare uma empresa Scribd logo
1 de 16
Baixar para ler offline
OAuth.io
OAUTH
YOU SAID?
Why OAuth?
Provide a standard way to access
protected resources, without sharing
passwords.
OAuth.io OAuth, You said?
OAuth.io
AMAZING!
BUT HOW?
OAuth, You said?
OAuth.io
The middle-man between the service and the
OAuth provider
!
Never share your Facebook credentials with a
service.
!
Today, almost any app needing access or
permissions relies on OAuth.
OAuth, You said?
Tokens!
OAuth.io
Users had to provide their Facebook
credentials to third party services.
!
Not secure. Intrusive. Inconvenient.
OAuth, You said?
Before? Basic Auth.
OAuth was first designed to be
interoperable and super easy to
implement for developers.
Started as a Protocol
OAuth.io OAuth, You said?
OAuth 2.0 has been reclassified as a
framework. Which means no
interoperability and no backward
compatibility :/
Ended up as a Framework
OAuth.io OAuth, You said?
30+ different implementations
!
Two separate flows for token retrieval.
!
Resources' names and parameters differ
from one provider to another
!
A nightmare for developers: lots of potential
traps. No hope for a good learning curve…
So yes, OAuth is broken
OAuth.io OAuth, You said?
OAuth 1.0 = October 2007
OAuth 1.0a = June 2009
OAuth 2.0 first draft = early 2010

OAuth 2.0 final = late 2011
Many versions in 5 years
OAuth.io OAuth, You said?
Complex signature scheme.
!
Almost no control over token expiry.
!
No permission management.
OAuth.io OAuth, You said?
OAuth 1.0a was limited
!
More flexible but less interoperable
SSL rather than signatures
Easier to implement
No backward compatibility
OAuth.io OAuth, You said?
OAuth 2.0 compromise
Resource Owner: the user who wants to share a
resource, e.g. owner of the facebook photos.
!
Client: the application that wants to leverage a
resource hosted by a third party, e.g. the photo
printing website.
!
Authorization Server: the entity that decides to
grant access to the client (application), e.g.
Facebook’s authorization server.
!
Resource Server: the place where the third party
resource is hosted, e.g. Facebook’s server where
the photos to print are.
4 quick definitions
The Flow
Further reading
https://tools.ietf.org/html/rfc6749
http://tools.ietf.org/html/rfc5849
OAuth 1.0 Specs
OAuth 2.0 Specs
Fuck OAuth by Eran Hammer talk
http://vimeo.com/52882780
OAuth.io OAuth, You said?
Read our full OAuth Tutorial
Credits
The Big Lebowski
Walker Texas Ranger aka Chuck (the 1st) Norris
Jackie Brown
2001: A Space Odyssey
R2D2: Star Wars (Dagobah)
C3PO: Star Wars (Tatooine)
Las Vegas Parano
Terminator
Forrest Gump
Austin Powers
OAuth.io OAuth, You said?
Judge Dredd
OAuth you said

Mais conteúdo relacionado

Destaque

Photos Of The Earth
Photos Of The EarthPhotos Of The Earth
Photos Of The Earth
wings
 
06 La Derniere Photo
06 La Derniere Photo06 La Derniere Photo
06 La Derniere Photo
Imhotep
 
Taiwan international orchid_show
Taiwan international orchid_showTaiwan international orchid_show
Taiwan international orchid_show
LilianaB2008
 
Carnival...Karneval...2(Sziszko)
Carnival...Karneval...2(Sziszko)Carnival...Karneval...2(Sziszko)
Carnival...Karneval...2(Sziszko)
Sziszko B.né
 
Alaska 2010
Alaska 2010Alaska 2010
Alaska 2010
kaytwin2
 
Anna kostenko mdc jal
Anna kostenko mdc jalAnna kostenko mdc jal
Anna kostenko mdc jal
LilianaB2008
 
Washington slideshow
Washington slideshowWashington slideshow
Washington slideshow
kaytwin2
 
Believe It Or Not (2)
Believe It Or Not (2)Believe It Or Not (2)
Believe It Or Not (2)
wings
 
Portland, oregon slideshow
Portland, oregon slideshowPortland, oregon slideshow
Portland, oregon slideshow
kaytwin2
 
Alaska poetry
Alaska poetryAlaska poetry
Alaska poetry
kaytwin2
 

Destaque (20)

New York City
New York CityNew York City
New York City
 
Photos Of The Earth
Photos Of The EarthPhotos Of The Earth
Photos Of The Earth
 
06 La Derniere Photo
06 La Derniere Photo06 La Derniere Photo
06 La Derniere Photo
 
Taiwan international orchid_show
Taiwan international orchid_showTaiwan international orchid_show
Taiwan international orchid_show
 
Carnival...Karneval...2(Sziszko)
Carnival...Karneval...2(Sziszko)Carnival...Karneval...2(Sziszko)
Carnival...Karneval...2(Sziszko)
 
Alaska 2010
Alaska 2010Alaska 2010
Alaska 2010
 
OC EMS Operation Sober Graduation
OC EMS Operation Sober GraduationOC EMS Operation Sober Graduation
OC EMS Operation Sober Graduation
 
Tirol T
Tirol TTirol T
Tirol T
 
That's So Gay!
That's So Gay!That's So Gay!
That's So Gay!
 
Anna kostenko mdc jal
Anna kostenko mdc jalAnna kostenko mdc jal
Anna kostenko mdc jal
 
LOVE doesn’t ask Why - Happy Valentine’s Day with Celine Dion’s ‘Love doesn’t...
LOVE doesn’t ask Why - Happy Valentine’s Day with Celine Dion’s ‘Love doesn’t...LOVE doesn’t ask Why - Happy Valentine’s Day with Celine Dion’s ‘Love doesn’t...
LOVE doesn’t ask Why - Happy Valentine’s Day with Celine Dion’s ‘Love doesn’t...
 
Washington slideshow
Washington slideshowWashington slideshow
Washington slideshow
 
Balcões Floridos
Balcões FloridosBalcões Floridos
Balcões Floridos
 
Mailbox Creations
 Mailbox Creations Mailbox Creations
Mailbox Creations
 
Eduson kak vospitat liderov
Eduson kak vospitat liderovEduson kak vospitat liderov
Eduson kak vospitat liderov
 
Believe It Or Not (2)
Believe It Or Not (2)Believe It Or Not (2)
Believe It Or Not (2)
 
Portland, oregon slideshow
Portland, oregon slideshowPortland, oregon slideshow
Portland, oregon slideshow
 
Alaska poetry
Alaska poetryAlaska poetry
Alaska poetry
 
American (UN) Beauty!
American (UN) Beauty!American (UN) Beauty!
American (UN) Beauty!
 
Ems Stamps
Ems StampsEms Stamps
Ems Stamps
 

Semelhante a OAuth you said

OAuth In The Real World : 10 actual implementations you can't guess
OAuth In The Real World : 10 actual implementations you can't guessOAuth In The Real World : 10 actual implementations you can't guess
OAuth In The Real World : 10 actual implementations you can't guess
Mehdi Medjaoui
 
OAuth - Don’t Throw the Baby Out with the Bathwater
OAuth - Don’t Throw the Baby Out with the Bathwater OAuth - Don’t Throw the Baby Out with the Bathwater
OAuth - Don’t Throw the Baby Out with the Bathwater
Apigee | Google Cloud
 
Securing APIs using OAuth 2.0
Securing APIs using OAuth 2.0Securing APIs using OAuth 2.0
Securing APIs using OAuth 2.0
Adam Lewis
 
Social Network Intergration
Social Network IntergrationSocial Network Intergration
Social Network Intergration
Dinesh Kumar
 

Semelhante a OAuth you said (20)

OAuth In The Real World : 10 actual implementations you can't guess
OAuth In The Real World : 10 actual implementations you can't guessOAuth In The Real World : 10 actual implementations you can't guess
OAuth In The Real World : 10 actual implementations you can't guess
 
OAuth - Don’t Throw the Baby Out with the Bathwater
OAuth - Don’t Throw the Baby Out with the Bathwater OAuth - Don’t Throw the Baby Out with the Bathwater
OAuth - Don’t Throw the Baby Out with the Bathwater
 
OAuth2 Introduction
OAuth2 IntroductionOAuth2 Introduction
OAuth2 Introduction
 
Oauth2.0
Oauth2.0Oauth2.0
Oauth2.0
 
OAuth
OAuthOAuth
OAuth
 
Ladies Be Architects - Study Group III: OAuth 2.0 (Ep 1)
Ladies Be Architects - Study Group III: OAuth 2.0 (Ep 1)Ladies Be Architects - Study Group III: OAuth 2.0 (Ep 1)
Ladies Be Architects - Study Group III: OAuth 2.0 (Ep 1)
 
O auth
O authO auth
O auth
 
A How-to Guide to OAuth & API Security
A How-to Guide to OAuth & API SecurityA How-to Guide to OAuth & API Security
A How-to Guide to OAuth & API Security
 
OAuth Android Göteborg
OAuth Android GöteborgOAuth Android Göteborg
OAuth Android Göteborg
 
Securing APIs using OAuth 2.0
Securing APIs using OAuth 2.0Securing APIs using OAuth 2.0
Securing APIs using OAuth 2.0
 
Demystifying OAuth 2.0
Demystifying OAuth 2.0Demystifying OAuth 2.0
Demystifying OAuth 2.0
 
Social Network Intergration
Social Network IntergrationSocial Network Intergration
Social Network Intergration
 
Oauth 2.0
Oauth 2.0Oauth 2.0
Oauth 2.0
 
OAuth is a mess!
OAuth is a mess!OAuth is a mess!
OAuth is a mess!
 
OAuth2 - Introduction
OAuth2 - IntroductionOAuth2 - Introduction
OAuth2 - Introduction
 
OAuth Tokens
OAuth TokensOAuth Tokens
OAuth Tokens
 
Secure Webservices
Secure WebservicesSecure Webservices
Secure Webservices
 
Oauth2.0 tutorial
Oauth2.0 tutorialOauth2.0 tutorial
Oauth2.0 tutorial
 
The Many Flavors of OAuth - Understand Everything About OAuth2
The Many Flavors of OAuth - Understand Everything About OAuth2The Many Flavors of OAuth - Understand Everything About OAuth2
The Many Flavors of OAuth - Understand Everything About OAuth2
 
OAuth - Open API Authentication
OAuth - Open API AuthenticationOAuth - Open API Authentication
OAuth - Open API Authentication
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Último (20)

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
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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
 
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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 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...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

OAuth you said

  • 2. Why OAuth? Provide a standard way to access protected resources, without sharing passwords. OAuth.io OAuth, You said?
  • 4. OAuth.io The middle-man between the service and the OAuth provider ! Never share your Facebook credentials with a service. ! Today, almost any app needing access or permissions relies on OAuth. OAuth, You said? Tokens!
  • 5. OAuth.io Users had to provide their Facebook credentials to third party services. ! Not secure. Intrusive. Inconvenient. OAuth, You said? Before? Basic Auth.
  • 6. OAuth was first designed to be interoperable and super easy to implement for developers. Started as a Protocol OAuth.io OAuth, You said?
  • 7. OAuth 2.0 has been reclassified as a framework. Which means no interoperability and no backward compatibility :/ Ended up as a Framework OAuth.io OAuth, You said?
  • 8. 30+ different implementations ! Two separate flows for token retrieval. ! Resources' names and parameters differ from one provider to another ! A nightmare for developers: lots of potential traps. No hope for a good learning curve… So yes, OAuth is broken OAuth.io OAuth, You said?
  • 9. OAuth 1.0 = October 2007 OAuth 1.0a = June 2009 OAuth 2.0 first draft = early 2010
 OAuth 2.0 final = late 2011 Many versions in 5 years OAuth.io OAuth, You said?
  • 10. Complex signature scheme. ! Almost no control over token expiry. ! No permission management. OAuth.io OAuth, You said? OAuth 1.0a was limited
  • 11. ! More flexible but less interoperable SSL rather than signatures Easier to implement No backward compatibility OAuth.io OAuth, You said? OAuth 2.0 compromise
  • 12. Resource Owner: the user who wants to share a resource, e.g. owner of the facebook photos. ! Client: the application that wants to leverage a resource hosted by a third party, e.g. the photo printing website. ! Authorization Server: the entity that decides to grant access to the client (application), e.g. Facebook’s authorization server. ! Resource Server: the place where the third party resource is hosted, e.g. Facebook’s server where the photos to print are. 4 quick definitions
  • 14. Further reading https://tools.ietf.org/html/rfc6749 http://tools.ietf.org/html/rfc5849 OAuth 1.0 Specs OAuth 2.0 Specs Fuck OAuth by Eran Hammer talk http://vimeo.com/52882780 OAuth.io OAuth, You said? Read our full OAuth Tutorial
  • 15. Credits The Big Lebowski Walker Texas Ranger aka Chuck (the 1st) Norris Jackie Brown 2001: A Space Odyssey R2D2: Star Wars (Dagobah) C3PO: Star Wars (Tatooine) Las Vegas Parano Terminator Forrest Gump Austin Powers OAuth.io OAuth, You said? Judge Dredd