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

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
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...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
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...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

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