OAuth 1.0

10

Click here to load reader

description

An OAuth 1.0 presentation I gave to an Italian TLC Telco, before OAuth consortium joined IETF.Shows also some differences and combinations with OpenID

Transcript of OAuth 1.0

Page 1: OAuth 1.0

OAuthSimone Tripodi - Asemantics S.r.l.

[email protected]

Page 2: OAuth 1.0

What’s OAuth?• An Open Protocol to allow secure API

authorization in a simple and standard method for mobile, desktop and web application;

• a protocol for developing password less APIs;

• a way for an application to interact with an API on a user’s behalf without knowing the user’s authentication credentials.

Page 3: OAuth 1.0

Hypothetical Scenarios

End User End User

ConsumerServiceProvider

ConsumerServiceProvider

“Import pictures from Picasainto Virgilio Photo Album”

“Allow Dailymotion readVirgilio’s User data”

Page 4: OAuth 1.0

Authorization flow

Page 5: OAuth 1.0

B2B shared information• Consumer Key: a value used by the

Consumer to identify itself to the Service Provider;

• Consumer Secret: a secret used by the Consumer to establish ownership of the Consumer Key;

• The Consumer establishes a Consumer Key and a Consumer Secret with the Service Provider to be authenticated; the Consumer needs to be registered!

Page 6: OAuth 1.0

OpenID & OAuth

• OpenID: helps determine who you are - AUTHENTICATION;

• OAuth: defines how to give access to protected data - AUTHORIZATION;

• They are complementary; a site that supports OAuth could also support OpenID for authentication!!!

Page 7: OAuth 1.0

OpenID & OAuth:Example integration

Page 8: OAuth 1.0

OAuth isProduction Ready!!!

• Google

• Yahoo!

• MySpace

• Digg

• Twitter

• Magnolia

• Plaxo

• ... and much more!

Page 9: OAuth 1.0

OAuth community

• Leaded by Brian Cook & Chris Messina;

• Active Google-group:http://groups.google.com/group/oauth/

• Blog: http://blog.oauth.net/

• Many available implementations from OS communities:Java - C# - JavaScript - Perl - PHP ...

Page 10: OAuth 1.0

Where are we?

here