SlideShare une entreprise Scribd logo
1  sur  37
Télécharger pour lire hors ligne
@udayms                                                                                             Enter the
                                                                                                           world of
      acrossthinlines.com



                                                                                                       0Auth & AIR
      Flash Camp India 2010
      Chennai, India


December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
                1	
  
•  UX/UI Evangelist
•  Owns Prototyping @ Yahoo! India



December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     2	
  
In the Beginning

         API.execute(userName, passWord);

         Or in other words…
         API.execute(“give me ur life”);
         // and trust me to not use it or sell it later so that someone else can
         F&*$K you completely!




December	
  12,	
  2010	
                    acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     3	
  
PLAXO	
  




December	
  12,	
  2010	
            acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     4	
  
This even used to have a name!!



                               Password 
                              Anti-Pattern

December	
  12,	
  2010	
       acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     5	
  
December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     6	
  
OAuth
December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     7	
  
Like a
VALET KEY

December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     8	
  
OAuth

  Google AuthSub + aol
  OpenAuth + Yahoo BBAuth +
  Upcoming api + Flickr api +
  Amazon Web Services api +
  others



December	
  12,	
  2010	
      acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     9	
  
Is…

     Open, generic
     Standard for
     API access
December	
  12,	
  2010	
      acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     10	
  
Is…

     authorization


December	
  12,	
  2010	
      acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     11	
  
Is…

     not
                              (authentication)



December	
  12,	
  2010	
             acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     12	
  
How did it
start?                                                                                                             Blain Cook,
                                                                                                                      & Others
                                                                                                              start looking at
                                                                                                       OpenId for API Services	
  


                                                                                  They realize a need for a
                                                                                  solution & start working on it	
  

                                                         Dewitt Clinton from Google
                                                         begins supporting the effort	
  

                                         Oauth core draft 1.0 released.	
  




December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
                               13	
  
Why?

     “…these days, everyone wants to build an App
     Store. Because every access key is a license that
     you can turn on and off, OAuth makes it easier
     for your integrations to generate revenue, and
     that means more and better integrations…”

     -Sunir Shah (FreshBooks)

December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     14	
  
December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     15	
  
December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     16	
  
December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     17	
  
Service Provider provides your app with Keys & Secrets to uniquely
                              identify it.


                              Your users who already have an account with Service Provider.
                              They will approve your application’s request for information.



                              Your application that is registered with your service provider and
                              used by your users. Your application also stored your credentials
                              internally.


                              Your Oauth layer




December	
  12,	
  2010	
               acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     18	
  
First Handshake

                                                                                                           Your Application


               Service Provider




                                                               Your Users
December	
  12,	
  2010	
         acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
                        19	
  
Next time…


           Service Provider                     Your Application                                       Your Users




December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
                  20	
  
Your Application
                     Facebook




                                                               OAuth




December	
  12,	
  2010	
       acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
                        21	
  
Dude…	
  My	
  user	
  wants	
  
                                 Sure.	
  Send	
  him	
  along.	
  
                                                                                                                            access	
  to	
  his	
  stuff	
  on	
  
                                Btw,	
  I	
  only	
  speak	
  Oauth.	
  
                                                                                                                                your	
  server.	
  




                                                                                                                                                      Your Application
                     Facebook




December	
  12,	
  2010	
                         acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
                                                   22	
  
Your Application
                     Facebook




December	
  12,	
  2010	
       acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
                        23	
  
What’s	
  your	
  Pasword?	
  



                                                                             PASSWORD1234@34	
  




                                                                                                                      Your Application
                     Facebook




December	
  12,	
  2010	
                    acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
                        24	
  
Gr8!	
  Here’s	
  your	
  token!	
  




                                                                                                                         Your Application
                     Facebook




December	
  12,	
  2010	
                       acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
                        25	
  
Perfect!	
  




                                                                                                                        Your Application
                     Facebook




December	
  12,	
  2010	
       acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
                                       26	
  
Dude!!	
  Here’s	
  my	
  	
  	
  
                                                                                                                        user’s	
  credenVals,	
  	
  
                                Sure.	
  Here	
  you	
  go!!!	
                                                           give	
  me	
  stuff!	
  




                                                                                                                                                 Your Application
                     Facebook




December	
  12,	
  2010	
                      acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
                                                 27	
  
December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     28	
  
December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     29	
  
December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     30	
  
December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     31	
  
December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     32	
  
December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     33	
  
December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     34	
  
Code Ranger OAuth Library
http://www.coderanger.com/blog/?p=59




as3corelib
https://github.com/mikechambers/as3corelib



December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     35	
  
Twitter                       @udayms
                                                  Blog                 acrossthinlines.com
LinkedIn                      linkedin.com/in/udayms


December	
  12,	
  2010	
                   acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
                    36	
  
Sources I ripped off from…
•       Slideshare: factoryjoe/oauth-ftw-presentation
•       Slideshare: kellan/advanced-oauth-wrangling
•       Slideshare: mbleigh/the-present-future-of-oauth
•       http://dev.twitter.com/pages/auth
•       Google Images
•       Flickr
•       Oauth.net



December	
  12,	
  2010	
     acrossthinlines.com	
  |	
  @udayms	
  |	
  linkedin.com/in/udayms	
     37	
  

Contenu connexe

Plus de Uday Shankar

Plus de Uday Shankar (13)

The Good, Bad & Ugly of UI Design
The Good, Bad & Ugly of UI DesignThe Good, Bad & Ugly of UI Design
The Good, Bad & Ugly of UI Design
 
Prototyping
PrototypingPrototyping
Prototyping
 
What Drives The World
What Drives The WorldWhat Drives The World
What Drives The World
 
Demystifying User Experience
Demystifying User ExperienceDemystifying User Experience
Demystifying User Experience
 
Touch & Multi Touch - A UX Perspective
Touch & Multi Touch - A UX PerspectiveTouch & Multi Touch - A UX Perspective
Touch & Multi Touch - A UX Perspective
 
Mobile Applications, Emerging Markets & Tourism
Mobile Applications, Emerging Markets & TourismMobile Applications, Emerging Markets & Tourism
Mobile Applications, Emerging Markets & Tourism
 
Prototyping SMS/Voice Services
Prototyping SMS/Voice ServicesPrototyping SMS/Voice Services
Prototyping SMS/Voice Services
 
Science of prototyping
Science of prototypingScience of prototyping
Science of prototyping
 
Usability & Prototyping
Usability & PrototypingUsability & Prototyping
Usability & Prototyping
 
Rapid Prototyping
Rapid PrototypingRapid Prototyping
Rapid Prototyping
 
User Experioence - delivering great ux through great ui
User Experioence - delivering great ux through great uiUser Experioence - delivering great ux through great ui
User Experioence - delivering great ux through great ui
 
Effective UI Development using Adobe Flex
Effective UI Development using Adobe FlexEffective UI Development using Adobe Flex
Effective UI Development using Adobe Flex
 
Adobe® Flex™
Adobe® Flex™Adobe® Flex™
Adobe® Flex™
 

Dernier

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
 
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
 
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
 

Dernier (20)

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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
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
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
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
 
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
 
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
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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...
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 

Khuljaa Sim Sim

  • 1. @udayms Enter the world of acrossthinlines.com 0Auth & AIR Flash Camp India 2010 Chennai, India December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   1  
  • 2. •  UX/UI Evangelist •  Owns Prototyping @ Yahoo! India December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   2  
  • 3. In the Beginning API.execute(userName, passWord); Or in other words… API.execute(“give me ur life”); // and trust me to not use it or sell it later so that someone else can F&*$K you completely! December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   3  
  • 4. PLAXO   December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   4  
  • 5. This even used to have a name!! Password Anti-Pattern December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   5  
  • 6. December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   6  
  • 7. OAuth December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   7  
  • 8. Like a VALET KEY December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   8  
  • 9. OAuth Google AuthSub + aol OpenAuth + Yahoo BBAuth + Upcoming api + Flickr api + Amazon Web Services api + others December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   9  
  • 10. Is… Open, generic Standard for API access December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   10  
  • 11. Is… authorization December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   11  
  • 12. Is… not (authentication) December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   12  
  • 13. How did it start? Blain Cook, & Others start looking at OpenId for API Services   They realize a need for a solution & start working on it   Dewitt Clinton from Google begins supporting the effort   Oauth core draft 1.0 released.   December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   13  
  • 14. Why? “…these days, everyone wants to build an App Store. Because every access key is a license that you can turn on and off, OAuth makes it easier for your integrations to generate revenue, and that means more and better integrations…” -Sunir Shah (FreshBooks) December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   14  
  • 15. December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   15  
  • 16. December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   16  
  • 17. December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   17  
  • 18. Service Provider provides your app with Keys & Secrets to uniquely identify it. Your users who already have an account with Service Provider. They will approve your application’s request for information. Your application that is registered with your service provider and used by your users. Your application also stored your credentials internally. Your Oauth layer December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   18  
  • 19. First Handshake Your Application Service Provider Your Users December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   19  
  • 20. Next time… Service Provider Your Application Your Users December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   20  
  • 21. Your Application Facebook OAuth December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   21  
  • 22. Dude…  My  user  wants   Sure.  Send  him  along.   access  to  his  stuff  on   Btw,  I  only  speak  Oauth.   your  server.   Your Application Facebook December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   22  
  • 23. Your Application Facebook December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   23  
  • 24. What’s  your  Pasword?   PASSWORD1234@34   Your Application Facebook December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   24  
  • 25. Gr8!  Here’s  your  token!   Your Application Facebook December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   25  
  • 26. Perfect!   Your Application Facebook December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   26  
  • 27. Dude!!  Here’s  my       user’s  credenVals,     Sure.  Here  you  go!!!   give  me  stuff!   Your Application Facebook December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   27  
  • 28. December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   28  
  • 29. December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   29  
  • 30. December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   30  
  • 31. December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   31  
  • 32. December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   32  
  • 33. December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   33  
  • 34. December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   34  
  • 35. Code Ranger OAuth Library http://www.coderanger.com/blog/?p=59 as3corelib https://github.com/mikechambers/as3corelib December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   35  
  • 36. Twitter @udayms Blog acrossthinlines.com LinkedIn linkedin.com/in/udayms December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   36  
  • 37. Sources I ripped off from… •  Slideshare: factoryjoe/oauth-ftw-presentation •  Slideshare: kellan/advanced-oauth-wrangling •  Slideshare: mbleigh/the-present-future-of-oauth •  http://dev.twitter.com/pages/auth •  Google Images •  Flickr •  Oauth.net December  12,  2010   acrossthinlines.com  |  @udayms  |  linkedin.com/in/udayms   37