oauth vs password antipattern

17
Barcamp Brighton 3 OAuth versus the Password Anti-Pattern Bruce Boughton 6-7 September 2008 http://lab.madgex.com/oauth-net/ [email protected] http://siliconbea.ch/

Upload: bruceboughton

Post on 07-Nov-2014

4.898 views

Category:

Technology


1 download

DESCRIPTION

In the world of the Web, it's common for sites to push and pull data to and from other sites & services. One example is that of sharing friends lists between social networks. All too often, however, websites ask their users to hand over passwords for different services; this is the Password Anti-Pattern. Using APIs protected by OAuth, an open authorization protocol, we can allow websites to collaborate without falling prey of the Password Anti-Pattern. The talk features demos and examples built in .NET using OAuth.net: http://lab.madgex.com/oauth-net/ NB: Download the PowerPoint for full notes on the slides

TRANSCRIPT

Page 1: Oauth Vs Password Antipattern

Barcamp Brighton 3

OAuth versus the Password Anti-PatternBruce Boughton

6-7 September 2008

http://lab.madgex.com/oauth-net/[email protected]://siliconbea.ch/

Page 2: Oauth Vs Password Antipattern

The Password Anti-Pattern

Page 3: Oauth Vs Password Antipattern

Problem Solved

Google Contacts Data APIWindows Live Contacts APIYahoo! Address Book API

AuthSubWL ID Delegated AuthBBAuth

And this is just for authentication!

Page 4: Oauth Vs Password Antipattern

OAuth

An open protocol to allow secure API authentication in a simple and standard method from desktop and web applications.

Page 5: Oauth Vs Password Antipattern

http://lab.madgex.com/oauth-net/googlecontacts/

Page 6: Oauth Vs Password Antipattern

http://whereami.lab.madgex.com/

Page 7: Oauth Vs Password Antipattern

consumers

service providers

users

Page 8: Oauth Vs Password Antipattern

Asserting Identity and Authority

Requests signed using consumer & token secrets

Request token: consumer identified, requesting authorization

Access token: consumer authorized by user to act on their behalf, may now fetch protected resources

Page 9: Oauth Vs Password Antipattern

Extensible and Flexible

OAuth Core 1.0 provides base

Supports at least web, desktop consumers

Extensions add functionality

Page 10: Oauth Vs Password Antipattern

OAuth.netOpen source .NET library

http://lab.madgex.com/oauth-net/[email protected]

Page 11: Oauth Vs Password Antipattern

Bringing OAuth to .NET developers

Build consumers and service providers for .NET 2.0 and newer

Hides complexity of protocol from developer

Very permissive MIT license

Developed as part of ongoing innovation work

Page 12: Oauth Vs Password Antipattern

Configuring the Fire Eagle service

Page 13: Oauth Vs Password Antipattern

Requesting the user’s location

Page 14: Oauth Vs Password Antipattern

Handling authorization (when required)

Page 15: Oauth Vs Password Antipattern

Using the protected resource

Page 16: Oauth Vs Password Antipattern

http://oauthproviderdemo.madgex.com/

Page 17: Oauth Vs Password Antipattern

Want to know more?

http://lab.madgex.com/oauth-net/[email protected]

http://siliconbea.ch/[email protected]