SlideShare a Scribd company logo
Open ID & OAuthPaul FryerJune 2011
What we’ll coverWhat 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?What’s your OpenID?User enters OpenID.Request the OpenID Provider page.Provider returns page with openid.server and, optionally, openid.delegate. Build URL and make request to OpenID server.OpenID server presents login screen.User provides credentials.OpenID server asks user to authorize use.User responds to authorization request.User redirected to success or failure URL.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..)
Live ExampleStackoverflow.comBuilt on

More Related Content

ODP
3rd-Party Authn/Authz
PDF
open id & o-auth
PPT
PPTX
OAuth Linking-Social Networks
PDF
User Management with LastUser
PPT
Silicon Valley Code Camp 2009: OAuth: What, Why and How
PPT
Implementing OpenID for Your Social Networking Site
PPT
Linkedin & OAuth
3rd-Party Authn/Authz
open id & o-auth
OAuth Linking-Social Networks
User Management with LastUser
Silicon Valley Code Camp 2009: OAuth: What, Why and How
Implementing OpenID for Your Social Networking Site
Linkedin & OAuth

Viewers also liked (8)

PPTX
Understanding cil & dynamic assemblies
PPTX
Running .Net on Raspberry Pi
PPT
How alerts work
PPT
Aspect oriented programming in .Net
PPTX
.Net Distributed Caching
PPT
Gartner application architecture summit 2011
PPTX
Web Sockets
PDF
How to Become a Thought Leader in Your Niche
Understanding cil & dynamic assemblies
Running .Net on Raspberry Pi
How alerts work
Aspect oriented programming in .Net
.Net Distributed Caching
Gartner application architecture summit 2011
Web Sockets
How to Become a Thought Leader in Your Niche
Ad

Similar to Open id & OAuth (20)

PDF
Introduction To Open Web Protocols
PPT
Student Authentication
PPT
Open Id
PDF
Building the Social Web with OpenID
PPT
Facebook_Oauth
PPT
Facebook_Oauth
PPT
Building and using web services with OAuth
PDF
OpenID and decentralised social networks
PDF
Secure Webservices
PDF
The Implications of OpenID
KEY
Authentication Using Twitter, Google, Facebook, And More
PDF
OpenID Connect "101" Introduction -- October 23, 2018
PDF
JDD2015: Security in the era of modern applications and services - Bolesław D...
PPT
FOSSwire3 + OpenID
PDF
OpenID and OAuth
PPT
openid-pres
ODP
Mohanraj - Securing Your Web Api With OAuth
ODP
Securing your Web API with OAuth
PPTX
OAuth2 Presentaion
PPTX
Open authentication (oauth)
Introduction To Open Web Protocols
Student Authentication
Open Id
Building the Social Web with OpenID
Facebook_Oauth
Facebook_Oauth
Building and using web services with OAuth
OpenID and decentralised social networks
Secure Webservices
The Implications of OpenID
Authentication Using Twitter, Google, Facebook, And More
OpenID Connect "101" Introduction -- October 23, 2018
JDD2015: Security in the era of modern applications and services - Bolesław D...
FOSSwire3 + OpenID
OpenID and OAuth
openid-pres
Mohanraj - Securing Your Web Api With OAuth
Securing your Web API with OAuth
OAuth2 Presentaion
Open authentication (oauth)
Ad

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
cuic standard and advanced reporting.pdf
PPTX
A Presentation on Artificial Intelligence
PPT
Teaching material agriculture food technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Understanding_Digital_Forensics_Presentation.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity
Dropbox Q2 2025 Financial Results & Investor Presentation
Building Integrated photovoltaic BIPV_UPV.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Unlocking AI with Model Context Protocol (MCP)
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Chapter 3 Spatial Domain Image Processing.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
cuic standard and advanced reporting.pdf
A Presentation on Artificial Intelligence
Teaching material agriculture food technology
Per capita expenditure prediction using model stacking based on satellite ima...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf

Open id & OAuth

  • 1. Open ID & OAuthPaul FryerJune 2011
  • 2. What we’ll coverWhat 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).
  • 4. 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.
  • 5. How does OpenID Work?What’s your OpenID?User enters OpenID.Request the OpenID Provider page.Provider returns page with openid.server and, optionally, openid.delegate. Build URL and make request to OpenID server.OpenID server presents login screen.User provides credentials.OpenID server asks user to authorize use.User responds to authorization request.User redirected to success or failure URL.Appropriate page is rendered depending on success or failure.
  • 6. What is OAuth?OAuth is about authorizing 3rd party sites to access user information.
  • 7. Allows sharing of user data with other systems without providing credentials to the other systems.Who uses OAuth?Most major web players.
  • 9. 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..)
  • 11. Source Code ExamplesExamples using the Dot Net Open Auth library.ASP.Net MVC example using OpenID.ASP.Net Web Forms example using OAuth.