BarCamp SD 5 Intro Oauth
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

BarCamp SD 5 Intro Oauth

  • 2,433 views
Uploaded 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

More in: Technology , Design
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,433
On Slideshare
2,433
From Embeds
0
Number of Embeds
0

Actions

Shares
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