Your SlideShare is downloading. ×
  • Like
  • Save
OAuth2 and LinkedIn
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

OAuth2 and LinkedIn


A brief hackday presentation on using the LinkedIn Platform with OAuth2

A brief hackday presentation on using the LinkedIn Platform with OAuth2

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


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Using Oauth2 with LinkedIn Kamyar Mohager LinkedIn Platform Team Developer Relations
  • 2. Why botherauthorizing? Developer Relations
  • 3. Not secure Developer Relations
  • 4. We need a way toconnect our LinkedIn identity securely to an application… Developer Relations
  • 5. OAuth 1.0a Developer Relations
  • 6. Secure, but…•  Relies on a calculated signature to ensure security between server and consumer•  Secure for end user but pain for developer to implement•  Difficult to debug 401 unauthorized when signature is bad (nonce, timestamp, etc)•  Not all OAuth libraries are created equal Developer Relations
  • 7. OAuth 1.0a SignatureSignature Base String POST& Signature wUGmSixTSUTTKA92Ytxj6rMeAAM= HTTP Authentication Header OAuth oauth_nonce="511F013D-C950-46EF-B8FF-DE48AA6708D8"oauth_timestamp="1355356360" oauth_version="1.0"oauth_signature_method="HMAC-SHA1" oauth_consumer_key=”XXXXXXXXX"oauth_token="935e5a8b-4787-4792-a377-4b0e8bae5029"oauth_signature="wUGmSixTSUTTKA92Ytxj6rMeAAM%3D" URL Developer Relations
  • 8. OAuth 2.0•  Easier to code•  Relies on SSL instead of complicated signatures•  Still provides secure authorization for end user•  Supports scopes for granular member permissions Developer Relations
  • 9. LinkedIn + OAuth 2.0 How easy is it to authorize a LinkedIn user to my app?? Developer Relations
  • 10. Step 1REGISTER YOUR APP Developer Relations
  • 11. Go to to register your app Developer Relations
  • 12. Step 2GET AN AUTHORIZATION CODE Developer Relations
  • 13. Redirect user to login dialog Developer Relations
  • 14. User grants access Developer Relations
  • 15. The redirected URL Developer Relations
  • 16. Step 3UPGRADE AUTH CODE FOR AN ACCESSTOKEN Developer Relations
  • 17. It’s all about SSL Developer Relations
  • 18. You’re auth’dResponse Developer Relations
  • 19. So what’s the gist of all this? Developer Relations
  • 20. Open Source Libraries• (ruby)• (python)• (php)• social (java) Developer Relations
  • 21. Questions?" Thanks! Developer Relations