Your SlideShare is downloading. ×
BarCamp SD 5 Intro Oauth
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

BarCamp SD 5 Intro Oauth

1,490

Published on

An introduction to OAuth delivered at BarCamp San Diego 5 on 5/30/09

An introduction to OAuth delivered at BarCamp San Diego 5 on 5/30/09

Published in: Technology, Design
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,490
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Intro OAuth Erik Eldridge Yahoo! Developer Network BarCamp San Diego 5 5/30/09 Oauth image credit: oauth.net
  • 2. Overview
    • Authentication flow (“OAuth dance”)
    • Pick an API
    • Get a key and secret
    • Pick a library
    • Example
    • References
  • 3. Before we continue…
    • Follow along now: http://www.slideshare.net/erikeldridge
    • Start playing: http://test.erikeldridge.com/oauth/barcampsd5
    • Follow me on twitter: http://twitter.com/erikeldridge
  • 4. Flow
    • http://developer.yahoo.com/oauth/ guide/oauth-auth-flow.html
  • 5. Pick an API
    • Example: http://social.yahooapis.com/v1/user/{guid}/connections
    • AKA “provider”
  • 6. Get key/secret
    • AKA “consumer”
    • Example:
      • https://developer.yahoo.com/dashboard
      • http://code.google.com/apis/accounts/docs/OAuth.html
      • http://twitter.com/oauth
  • 7. Pick an OAuth library
    • http://oauth.net/code
    • Native support in many languages
  • 8. Example: Yahoo! + PHP
    • Using OAuth PHP SDK: http://oauth.googlecode.com/svn/code/php
    • API: http://social.yahooapis.com/v1/user/{guid}/connections
    • Yahoo! OAuth PHP SDK: http://developer.yahoo.com/social/sdk/
    • Live code: http://example.erikeldridge.com/oauth/barcampsd5/
  • 9. Example: Get Request token
    • Step 2 from: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html
    • Example: http://example.erikeldridge.com/oauth/barcampsd5/
  • 10. Example: Redirect to provider
    • Step 3 from: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html
    • Example: http://example.erikeldridge.com/oauth/barcampsd5/
  • 11. Example: Get Access token
    • Step 4 from: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html
    • Example: http://example.erikeldridge.com/oauth/barcampsd5/callback.php
  • 12. Example: Make Oauth-signed request
    • Example: http://example.erikeldridge.com/oauth/barcampsd5/make_request.php
  • 13. References
    • http://oauth.net/
    • http: //oauth .net/documentation/getting-started
    • http://en.wikipedia.org/wiki/OAuth
    • http://developer.yahoo.com/oauth/
    • http://example.erikeldridge.com/oauth/barcampsd5/
  • 14. Thank you

×