introduction to oauth2
DESCRIPTION
TRANSCRIPT
![Page 1: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/1.jpg)
OAuth 2Valet Key for the Web
by Leon Du
Sunday, November 21, 2010
![Page 2: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/2.jpg)
Who Am I
• Freelancer / Ruby on Rails developer @guangzhou
• github.com/leondu
• twitter.com/leondu
• flickr.com/leondu
Sunday, November 21, 2010
![Page 3: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/3.jpg)
Overview
20%
40%
40%
Introduction Use caseOthers
Sunday, November 21, 2010
![Page 4: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/4.jpg)
What it is?
under your control
Share
Sunday, November 21, 2010
![Page 5: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/5.jpg)
Protocol Flow
the OAuth Abstract Protocol Flow
Sunday, November 21, 2010
![Page 6: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/6.jpg)
Who are in?
and much more...
Sunday, November 21, 2010
![Page 7: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/7.jpg)
Use case• Register using Twitter account
Sunday, November 21, 2010
![Page 8: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/8.jpg)
Use case
Sunday, November 21, 2010
![Page 9: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/9.jpg)
Use case
Sunday, November 21, 2010
![Page 10: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/10.jpg)
Use case
Sunday, November 21, 2010
![Page 11: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/11.jpg)
OAuth in Ruby/Rails
• Service provideroauth2_provider: https://github.com/ThoughtWorksStudios/oauth2_provideroauth2-ruby: https://github.com/aflatter/oauth2-rubyrack-oauth2-server: https://github.com/flowtown/rack-oauth2-server
• ClientOAuth2: https://github.com/intridea/oauth2omniauth: https://github.com/intridea/omniauthdevise_oauth2_facebook https://github.com/mooktakim/devise_oauth2_facebookauthlogic_oauth2 https://github.com/andyhite/authlogic_oauth2
Sunday, November 21, 2010
![Page 12: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/12.jpg)
Resources
• The Spechttp://tools.ietf.org/html/draft-ietf-oauth-v2
• Tutorialshttp://wiki.oauth.net/w/page/25236487/OAuth-2
http://hueniverse.com/oauth/
Sunday, November 21, 2010
![Page 13: Introduction to OAuth2](https://reader034.vdocuments.net/reader034/viewer/2022050919/54842574b4af9fbd5d8b4640/html5/thumbnails/13.jpg)
Questions?
Sunday, November 21, 2010