SlideShare una empresa de Scribd logo
1 de 35
Descargar para leer sin conexión
OPEN	
  IDENTITY	
  
…	
  ge$ng	
  to	
  know	
  your	
  users	
  
	
  
	
  
TIM	
  MESSERSCHMIDT	
  
@SeraAndroid	
  
&	
  cool	
  stuff	
  you	
  can	
  do	
  with	
  it	
  
Developer	
  Evangelist	
  
PayPal	
  
What	
  does	
  PayPal	
  do	
  at	
  
JSConf.eu?	
  
Rebuild	
  Developer	
  
Experience:	
  
developer.paypal.com	
  
What	
  is	
  idenEty?	
  
Do	
  we	
  always	
  use	
  the	
  
same	
  idenHty?	
  	
  
Should	
  we	
  always	
  use	
  
the	
  same	
  idenHty?	
  	
  
AuthenHcaHon	
  vs.	
  
AuthorizaHon	
  
Current	
  standards	
  
Basic	
  AuthenHcaHon	
  
OAuth	
  1.0	
  
Request	
  
Request	
  Token	
  
Grant	
  
Request	
  Token	
  
Direct	
  User	
  to	
  Service	
   Obtain	
  AuthorizaEon	
  
Direct	
  to	
  Consumer	
  
Request	
  
Access	
  Token	
  
Grant	
  
Access	
  Token	
  
Access	
  
Resources	
  
Consumer	
   Service	
  Provider	
  
OAuth	
  1.0a	
  
OAuth	
  2.0	
  
Direct	
  User	
  to	
  Service	
   Obtain	
  AuthorizaEon	
  
Request	
  
Access	
  Token	
  
Greant	
  
Access	
  Token	
  
Direct	
  to	
  Consumer	
  
Access	
  
Resources	
  /	
  Profile	
  
Consumer	
   Service	
  Provider	
  
OAuth	
  2.0	
  and	
  the	
  
Road	
  to	
  Hell	
  
hPp://hueniverse.com/2012/07/oauth-­‐2-­‐0-­‐and-­‐the-­‐road-­‐to-­‐hell/	
  
hPp://homakov.blogspot.de/2013/03/oauth1-­‐oauth2-­‐oauth.html	
  
IdenEficaEon	
  
Name	
  
Email	
  
Date	
  of	
  Birth	
  
Locale	
  
Time	
  Zone	
  
Address	
  
Gender	
  
Language	
  
Phone	
  Number	
  
CreaHon	
  Date	
  
OpenID	
  
BrowserID	
  
Persona	
  
How	
  to	
  combine	
  both?	
  
OpenID	
  with	
  OAuth	
  
Hybrid	
  Extension	
  
OpenID	
  Connect	
  
IdenHty	
  Providers	
  
Social	
  vs.	
  Concrete	
  
ArEficial	
  barriers	
  
Yeah,	
  nice..	
  but	
  why?	
  
	
  
People	
  forget	
  passwords…	
  
	
  
45%	
  admit	
  to	
  leaving	
  a	
  website	
  instead	
  of	
  re-­‐
se$ng	
  their	
  password	
  or	
  answering	
  security	
  
quesEons	
  *	
  
	
  
*	
  Blue	
  Inc.	
  2011	
  	
  
Also	
  they	
  hate	
  to	
  register	
  
	
  
Out	
  of	
  657	
  surveyed	
  users	
  66%	
  think	
  that	
  social	
  
sign-­‐in	
  is	
  a	
  desirable	
  alternaEve.	
  *	
  
	
  
*	
  Blue	
  Inc.	
  2011	
  	
  
Where	
  else	
  should	
  we	
  
use	
  authenHcaHon?	
  
JSONP	
  
Cross-­‐domain	
  Request	
  (XDR)	
  
CORS	
  
Cross-­‐Origin	
  Request	
  Sharing	
  
API	
  communicaHon	
  
	
  
curl	
  -­‐v	
  hPps://api.paypal.com/v1/payments/payment	
  	
  
-­‐H	
  'Content-­‐Type:applicaEon/json'	
  	
  
-­‐H	
  'AuthorizaHon:Bearer	
  MyAwesomeToken'	
  	
  
-­‐d	
  '{	
  
	
  "intent":"sale",	
  
	
  "payer":{	
  
	
  	
  	
  	
   	
   	
  "payment_method":"paypal"	
  
	
  	
   	
  },	
  
	
  "transacEons":[{	
  
	
   	
  "amount":{	
  
	
   	
   	
  "total":"7.47",	
  
	
   	
   	
  "currency":"USD"	
  
	
  	
  	
  	
  	
  	
   	
   	
  },	
  
	
  }]	
  
}‘	
  
XMLHpRequest	
  
	
  
Request:	
  
POST	
  /cors	
  HTTP/1.1	
  
Origin:	
  hPp://api.bob.com	
  
Host:	
  api.bob.com	
  
	
  
Response:	
  
Access-­‐Control-­‐Allow-­‐Origin:	
  hPp://api.bob.com	
  
Access-­‐Control-­‐Allow-­‐CredenEals:	
  true	
  
Access-­‐Control-­‐Expose-­‐Headers:	
  FooBar	
  
Content-­‐Type:	
  text/html;	
  charset=un-­‐8	
  
	
  
source:	
  hPp://www.html5rocks.com/en/tutorials/cors/	
  
Wrap	
  up	
  
Difference	
  between	
  authen.ca.on	
  
and	
  authoriza.on	
  
IdenHty	
  does	
  maer	
  
Token	
  based	
  authenHcaHon	
  for	
  API	
  
communicaHon	
  
QuesHons?	
  
	
  
tmesserschmidt@paypal.com	
  
@SeraAndroid	
  
slideshare.com/paypal	
  

Más contenido relacionado

Destacado

Social Media Marketing: A Digital Dollar Superstore
Social Media Marketing: A Digital Dollar SuperstoreSocial Media Marketing: A Digital Dollar Superstore
Social Media Marketing: A Digital Dollar Superstore
lisafitzpatrick1
 
Renewable energy afesis corplan presentation 15 march 2011
Renewable energy   afesis corplan presentation 15 march 2011Renewable energy   afesis corplan presentation 15 march 2011
Renewable energy afesis corplan presentation 15 march 2011
Invest Buffalo City
 
Курс лекций для студентов СПбГУ. Занятие 1
Курс лекций для студентов СПбГУ. Занятие 1Курс лекций для студентов СПбГУ. Занятие 1
Курс лекций для студентов СПбГУ. Занятие 1
Nikita Efimov
 

Destacado (17)

Prefactibilidad urbanística - Hato San Antonio
Prefactibilidad urbanística -  Hato San AntonioPrefactibilidad urbanística -  Hato San Antonio
Prefactibilidad urbanística - Hato San Antonio
 
Crm and student relationship
Crm and student relationship Crm and student relationship
Crm and student relationship
 
Estructuras 2
Estructuras 2Estructuras 2
Estructuras 2
 
CGT 106 Mashable Presentation
CGT 106 Mashable PresentationCGT 106 Mashable Presentation
CGT 106 Mashable Presentation
 
Branding • WPG F&B Concepts in Myanmar
Branding • WPG F&B Concepts in MyanmarBranding • WPG F&B Concepts in Myanmar
Branding • WPG F&B Concepts in Myanmar
 
Social Media Marketing: A Digital Dollar Superstore
Social Media Marketing: A Digital Dollar SuperstoreSocial Media Marketing: A Digital Dollar Superstore
Social Media Marketing: A Digital Dollar Superstore
 
JCI mission plan in comic style
JCI mission plan in comic styleJCI mission plan in comic style
JCI mission plan in comic style
 
Future of Caving | 2020 Trends Prediction
Future of Caving | 2020 Trends Prediction Future of Caving | 2020 Trends Prediction
Future of Caving | 2020 Trends Prediction
 
How would you describe Swift in three words?
How would you describe Swift in three words?How would you describe Swift in three words?
How would you describe Swift in three words?
 
Building Startup Ecosystems (Istanbul, Sept 2014)
Building Startup Ecosystems (Istanbul, Sept 2014)Building Startup Ecosystems (Istanbul, Sept 2014)
Building Startup Ecosystems (Istanbul, Sept 2014)
 
Start With Strengths - Change the Lens. Change the Story
Start With Strengths - Change the Lens. Change the StoryStart With Strengths - Change the Lens. Change the Story
Start With Strengths - Change the Lens. Change the Story
 
Artful Balance: Future US Defense Strategy and Force Posture in the Gulf
Artful Balance: Future US Defense Strategy and Force Posture in the GulfArtful Balance: Future US Defense Strategy and Force Posture in the Gulf
Artful Balance: Future US Defense Strategy and Force Posture in the Gulf
 
Geometri
GeometriGeometri
Geometri
 
Renewable energy afesis corplan presentation 15 march 2011
Renewable energy   afesis corplan presentation 15 march 2011Renewable energy   afesis corplan presentation 15 march 2011
Renewable energy afesis corplan presentation 15 march 2011
 
Курс лекций для студентов СПбГУ. Занятие 1
Курс лекций для студентов СПбГУ. Занятие 1Курс лекций для студентов СПбГУ. Занятие 1
Курс лекций для студентов СПбГУ. Занятие 1
 
Hubspot Overview
Hubspot OverviewHubspot Overview
Hubspot Overview
 
Sugar Crm
Sugar CrmSugar Crm
Sugar Crm
 

Similar a Open Identity - getting to know your users

Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Deepak Nadig
 
Stateless authentication with OAuth 2 and JWT - JavaZone 2015
Stateless authentication with OAuth 2 and JWT - JavaZone 2015Stateless authentication with OAuth 2 and JWT - JavaZone 2015
Stateless authentication with OAuth 2 and JWT - JavaZone 2015
Alvaro Sanchez-Mariscal
 
The Identity Problem of the Web and how to solve it
The Identity Problem of the Web and how to solve itThe Identity Problem of the Web and how to solve it
The Identity Problem of the Web and how to solve it
Bastian Hofmann
 

Similar a Open Identity - getting to know your users (20)

Monetize with PayPal X Payments Platform
Monetize with PayPal X Payments PlatformMonetize with PayPal X Payments Platform
Monetize with PayPal X Payments Platform
 
Designing JavaScript APIs
Designing JavaScript APIsDesigning JavaScript APIs
Designing JavaScript APIs
 
Secure RESTful API Automation With JavaScript
Secure RESTful API Automation With JavaScriptSecure RESTful API Automation With JavaScript
Secure RESTful API Automation With JavaScript
 
Securing RESTful Payment APIs Using OAuth 2
Securing RESTful Payment APIs Using OAuth 2Securing RESTful Payment APIs Using OAuth 2
Securing RESTful Payment APIs Using OAuth 2
 
Monetizing your apps with PayPal API:s
Monetizing your apps with PayPal API:sMonetizing your apps with PayPal API:s
Monetizing your apps with PayPal API:s
 
The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016
 
The Future of Progressive Web Apps - View Source conference, Berlin 2016
The Future of Progressive Web Apps - View Source conference, Berlin 2016The Future of Progressive Web Apps - View Source conference, Berlin 2016
The Future of Progressive Web Apps - View Source conference, Berlin 2016
 
Securing RESTful APIs using OAuth 2 and OpenID Connect
Securing RESTful APIs using OAuth 2 and OpenID ConnectSecuring RESTful APIs using OAuth 2 and OpenID Connect
Securing RESTful APIs using OAuth 2 and OpenID Connect
 
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
 
Webapp security (with notes)
Webapp security (with notes)Webapp security (with notes)
Webapp security (with notes)
 
Monetizing your Applications with PayPal X Payments Platform
Monetizing your Applications withPayPal X Payments PlatformMonetizing your Applications withPayPal X Payments Platform
Monetizing your Applications with PayPal X Payments Platform
 
Monetizing your Applications with PayPal X Payments Platform
Monetizing your Applications withPayPal X Payments PlatformMonetizing your Applications withPayPal X Payments Platform
Monetizing your Applications with PayPal X Payments Platform
 
UserCentric Identity based Service Invocation
UserCentric Identity based Service InvocationUserCentric Identity based Service Invocation
UserCentric Identity based Service Invocation
 
RefCard RESTful API Design
RefCard RESTful API DesignRefCard RESTful API Design
RefCard RESTful API Design
 
A2Lab - Payment Request API
A2Lab - Payment Request APIA2Lab - Payment Request API
A2Lab - Payment Request API
 
One Gateway for All Kinds of Payments—the Payflow Integration
One Gateway for All Kinds of Payments—the Payflow IntegrationOne Gateway for All Kinds of Payments—the Payflow Integration
One Gateway for All Kinds of Payments—the Payflow Integration
 
Stateless authentication with OAuth 2 and JWT - JavaZone 2015
Stateless authentication with OAuth 2 and JWT - JavaZone 2015Stateless authentication with OAuth 2 and JWT - JavaZone 2015
Stateless authentication with OAuth 2 and JWT - JavaZone 2015
 
The Identity Problem of the Web and how to solve it
The Identity Problem of the Web and how to solve itThe Identity Problem of the Web and how to solve it
The Identity Problem of the Web and how to solve it
 
Stateless authentication for microservices - GR8Conf 2015
Stateless authentication for microservices - GR8Conf 2015Stateless authentication for microservices - GR8Conf 2015
Stateless authentication for microservices - GR8Conf 2015
 
Securing RESTful APIs using OAuth 2 and OpenID Connect
Securing RESTful APIs using OAuth 2 and OpenID ConnectSecuring RESTful APIs using OAuth 2 and OpenID Connect
Securing RESTful APIs using OAuth 2 and OpenID Connect
 

Más de PayPal

Kraken
KrakenKraken
Kraken
PayPal
 
Battle Hack London Intro
Battle Hack London IntroBattle Hack London Intro
Battle Hack London Intro
PayPal
 
From Good To Great
From Good To GreatFrom Good To Great
From Good To Great
PayPal
 
Hack & Tell
Hack & TellHack & Tell
Hack & Tell
PayPal
 

Más de PayPal (20)

PayPal's Private Cloud @ Scale
PayPal's Private Cloud @ ScalePayPal's Private Cloud @ Scale
PayPal's Private Cloud @ Scale
 
Kraken Front-Trends
Kraken Front-TrendsKraken Front-Trends
Kraken Front-Trends
 
Kraken
KrakenKraken
Kraken
 
Death To Passwords Droid Edition
Death To Passwords Droid EditionDeath To Passwords Droid Edition
Death To Passwords Droid Edition
 
Future Of Payments
Future Of PaymentsFuture Of Payments
Future Of Payments
 
The web can do that better - My adventure with HTML5 Vide, WebRTC and Shared ...
The web can do that better - My adventure with HTML5 Vide, WebRTC and Shared ...The web can do that better - My adventure with HTML5 Vide, WebRTC and Shared ...
The web can do that better - My adventure with HTML5 Vide, WebRTC and Shared ...
 
Death To Passwords
Death To PasswordsDeath To Passwords
Death To Passwords
 
KrakenJS
KrakenJSKrakenJS
KrakenJS
 
Battle Hack London Intro
Battle Hack London IntroBattle Hack London Intro
Battle Hack London Intro
 
Authentication for Droids
Authentication for DroidsAuthentication for Droids
Authentication for Droids
 
Concrete indentity really getting to know your users
Concrete indentity   really getting to know your usersConcrete indentity   really getting to know your users
Concrete indentity really getting to know your users
 
Online Identity: Getting to know your users
Online Identity: Getting to know your usersOnline Identity: Getting to know your users
Online Identity: Getting to know your users
 
Mobile payments at Droidcon Eastern Europe
Mobile payments at Droidcon Eastern EuropeMobile payments at Droidcon Eastern Europe
Mobile payments at Droidcon Eastern Europe
 
Reinvigorating Stagnant Innovation Through Your Developer Network
Reinvigorating Stagnant Innovation Through Your Developer NetworkReinvigorating Stagnant Innovation Through Your Developer Network
Reinvigorating Stagnant Innovation Through Your Developer Network
 
The Profitable Startup
The Profitable StartupThe Profitable Startup
The Profitable Startup
 
Startup Highway Workshop
Startup Highway WorkshopStartup Highway Workshop
Startup Highway Workshop
 
Droidcon Paris: The new Android SDK
Droidcon Paris: The new Android SDKDroidcon Paris: The new Android SDK
Droidcon Paris: The new Android SDK
 
Berlin Battle hack presentation
Berlin Battle hack presentationBerlin Battle hack presentation
Berlin Battle hack presentation
 
From Good To Great
From Good To GreatFrom Good To Great
From Good To Great
 
Hack & Tell
Hack & TellHack & Tell
Hack & Tell
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

Open Identity - getting to know your users