introduction to oauth2
DESCRIPTION
TRANSCRIPT
OAuth 2Valet Key for the Web
by Leon Du
Sunday, November 21, 2010
Who Am I
• Freelancer / Ruby on Rails developer @guangzhou
• github.com/leondu
• twitter.com/leondu
• flickr.com/leondu
Sunday, November 21, 2010
Overview
20%
40%
40%
Introduction Use caseOthers
Sunday, November 21, 2010
What it is?
under your control
Share
Sunday, November 21, 2010
Protocol Flow
the OAuth Abstract Protocol Flow
Sunday, November 21, 2010
Who are in?
and much more...
Sunday, November 21, 2010
Use case• Register using Twitter account
Sunday, November 21, 2010
Use case
Sunday, November 21, 2010
Use case
Sunday, November 21, 2010
Use case
Sunday, November 21, 2010
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
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
Questions?
Sunday, November 21, 2010