SlideShare a Scribd company logo
Open ID & OAuth

    Paul Fryer
    June 2011
What we’ll cover
•   What is OpenID and OAuth?
•   Where and why are these used?
•   “In the wild” examples.
•   Source code examples.
What is OpenID?
• OpenID is about verifying identity
  (authenticating).
• Prevents users from having to maintain
  multiple identities with websites/electronic
  systems.
Who uses OpenID?
• You probably already have an OpenID.
• Most of the major web players have an
  implementation.
• You can provide your own implementation.
How does OpenID Work?
1.    What’s your OpenID?
2.    User enters OpenID.
3.    Request the OpenID Provider page.
4.    Provider returns page with
      openid.server and, optionally,
      openid.delegate.
5.    Build URL and make request to
      OpenID server.
6.    OpenID server presents login
      screen.
7.    User provides credentials.
8.    OpenID server asks user to
      authorize use.
9.    User responds to authorization
      request.
10.   User redirected to success or failure
      URL.
11.   Appropriate page is rendered
      depending on success or failure.
What is OAuth?
• OAuth is about authorizing 3rd party sites to
  access user information.
• Allows sharing of user data with other systems
  without providing credentials to the other
  systems.
Who uses OAuth?
• Most major web players.
• Facebook, Twitter, Google, Flickr, more..
• You can too! Just download an open source
  library for your programming language of
  choice (Dot Net, Cold Fusion, Lisp, Java,
  JavaScript, Objective C, Perl, Ocaml, PHP, Ruby,
  Python, Erlang, more..)
open id & o-auth
Live Example
• Stackoverflow.com
• Built on
Source Code Examples
• Examples using the Dot Net Open Auth library.
• ASP.Net MVC example using OpenID.
• ASP.Net Web Forms example using OAuth.

More Related Content

PDF
Oauth Behind The Scenes
PPTX
Open id & OAuth
PDF
REST APIs in the context of single-page applications
PPTX
Owasp healthcare cms
PPT
Gartner application architecture summit 2011
PPT
How alerts work
PPTX
Understanding cil & dynamic assemblies
PPTX
Web Sockets
Oauth Behind The Scenes
Open id & OAuth
REST APIs in the context of single-page applications
Owasp healthcare cms
Gartner application architecture summit 2011
How alerts work
Understanding cil & dynamic assemblies
Web Sockets

Similar to open id & o-auth (20)

PPT
Facebook_Oauth
PPT
Facebook_Oauth
PDF
Introduction To Open Web Protocols
KEY
Authentication Using Twitter, Google, Facebook, And More
PDF
Secure Webservices
PPT
Implementing OpenID for Your Social Networking Site
PDF
A How-to Guide to OAuth & API Security
PDF
Server-side Java Programming
PDF
OpenID Connect "101" Introduction -- October 23, 2018
PPTX
MainFinalOAuth
PDF
Building the Social Web with OpenID
PDF
User Management with LastUser
PPT
Oauth2.0
PPTX
Lecture 20101124
PPT
Building and using web services with OAuth
PDF
OAuth - Open API Authentication
KEY
OpenID vs OAuth - Identity on the Web
Facebook_Oauth
Facebook_Oauth
Introduction To Open Web Protocols
Authentication Using Twitter, Google, Facebook, And More
Secure Webservices
Implementing OpenID for Your Social Networking Site
A How-to Guide to OAuth & API Security
Server-side Java Programming
OpenID Connect "101" Introduction -- October 23, 2018
MainFinalOAuth
Building the Social Web with OpenID
User Management with LastUser
Oauth2.0
Lecture 20101124
Building and using web services with OAuth
OAuth - Open API Authentication
OpenID vs OAuth - Identity on the Web
Ad

open id & o-auth

  • 1. Open ID & OAuth Paul Fryer June 2011
  • 2. What we’ll cover • What is OpenID and OAuth? • Where and why are these used? • “In the wild” examples. • Source code examples.
  • 3. What is OpenID? • OpenID is about verifying identity (authenticating). • Prevents users from having to maintain multiple identities with websites/electronic systems.
  • 4. Who uses OpenID? • You probably already have an OpenID. • Most of the major web players have an implementation. • You can provide your own implementation.
  • 5. How does OpenID Work? 1. What’s your OpenID? 2. User enters OpenID. 3. Request the OpenID Provider page. 4. Provider returns page with openid.server and, optionally, openid.delegate. 5. Build URL and make request to OpenID server. 6. OpenID server presents login screen. 7. User provides credentials. 8. OpenID server asks user to authorize use. 9. User responds to authorization request. 10. User redirected to success or failure URL. 11. Appropriate page is rendered depending on success or failure.
  • 6. What is OAuth? • OAuth is about authorizing 3rd party sites to access user information. • Allows sharing of user data with other systems without providing credentials to the other systems.
  • 7. Who uses OAuth? • Most major web players. • Facebook, Twitter, Google, Flickr, more.. • You can too! Just download an open source library for your programming language of choice (Dot Net, Cold Fusion, Lisp, Java, JavaScript, Objective C, Perl, Ocaml, PHP, Ruby, Python, Erlang, more..)
  • 10. Source Code Examples • Examples using the Dot Net Open Auth library. • ASP.Net MVC example using OpenID. • ASP.Net Web Forms example using OAuth.