39
Open Identity How PayPal uses March 2012, Hannover Moosecon Tim Messerschmidt Developer Evangelist @SeraAndroid

Paypal

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Paypal

Open Identity How PayPal uses

March 2012, Hannover

Moosecon 1

Tim Messerschmidt Developer Evangelist

@SeraAndroid

Page 2: Paypal

2

Tim Messerschmdit

Developer Evangelist

Startup Mentor

Author

W!" #$ I?

Page 3: Paypal

3

Page 4: Paypal

4

Page 5: Paypal

W!"# $% $&'(#$#) $( #!' W'b?

5

Page 6: Paypal

6

Page 7: Paypal

7

Page 8: Paypal

•  active users: 123.000.000

•  Uses OpenID Connect

•  Interesting for commercial use cases – Adds integrity to existing applications

– Clearly business- & merchant-oriented

•  Actively being worked on! – Expect new kick-ass features soon

8

P#%P#& A''())

Page 9: Paypal

9 9

Page 10: Paypal

10 10

Page 11: Paypal

11

Page 12: Paypal

12

Page 13: Paypal

13

W!) O*'(ID C+((',#?

Page 14: Paypal

Authorization

v%. Authentication

14

Page 15: Paypal

OA-#! 1.0

15

Page 16: Paypal

OA-#! 2.0

16

Page 17: Paypal

OA-#! 2.0 & #!' R+"& #+ H'..

17 Eran Hammer: http://hueniverse.com/2012/07/oauth-2-0-and-the-road-to-hell/

Page 18: Paypal

“OAuth 2.0 offers little to none code

reusability”

18

Page 19: Paypal

“What 2.0 offers is a blueprint for an authorization

protocol” 19

Page 20: Paypal

O( #!' D'"&('%% +f OA-#! 2

20 Tim Bray: http://www.tbray.org/ongoing/When/201x/2012/07/28/Oauth2-dead

Page 21: Paypal

OAuth 2 is

useful today

21

Page 22: Paypal

“OAuth 2 may not be perfect, and may have been harmed by the Enterprise crap, but the

core of Web functionality […] seems to have survived.”

22

Page 23: Paypal

O*'(ID C+((',#

23

Page 24: Paypal

24

Page 25: Paypal

25

Page 26: Paypal

S())*"+ $#+#,($(+-

•  Highly demanded feature – Service can be used to login & logout

•  OAuth 2.0 requires users to revoke permission to “logout”

•  Token validation & refreshment

•  AN Optional feature

26

Page 27: Paypal

A.-!"r/#-*"+ F&"w

C!"#$% 1.  Open Authorization

Endpoint URL

4.  Check callbacks for Authorization Token

5.  Request a valid Access Token

7.  Retrieve user’s resources

S#rv#r 2.  Provide a login page 3.  Return the Authorization

Token after a successful login

6.  Check Authorization Token & return the Access Token if it’s valid

27

Page 28: Paypal

OA.-! 2.0 *$0&($(+-#-*"+ '#+ b( (#)*&% '!#+,(1 -"

O0(+ID C"++('- 28

Page 29: Paypal

W!) %!+-.& I -%' #!$%?

29

Page 30: Paypal

30

P("0&( f"r,(- 0#))w"r1)… “45 % admit to leaving a website instead of re-setting their password or answering security questions” * * B&.( I+'. 2011

Page 31: Paypal

31

P("0&( 1"+’- &*2( -" r(,*)-(r… Out of 657 surveyed users 66 % think that social sign-in is a desirable alternative. * * B&.( I+'. 2011

Page 32: Paypal

32

V(r*3(1 0r"3&() Email – as it’s the user’s login

Address – ship my stuff here!

Name – makes sense, too … #+1 $.'! $"r( *+f"r$#-*"+!

Page 33: Paypal

5 scopes to access the

profile:

1.  profile

2.  email

3.  address

4.  phone

5.  attributes

33

Page 34: Paypal

34

Leverage an existing

profile

Page 35: Paypal

x.com/identity

35

Page 36: Paypal

36

W!#-’) +4-?

Page 37: Paypal

H(&0? Pr"b&($)?

•  paypal.com/dts – Developer Technical Services

–  Ticketing

•  StackOverflow.com –  Tag “PayPal”

– Actively being watched by Technical Service and Developer Evangelists like me

37

Page 38: Paypal

Q&#'%"($'? 38

Page 39: Paypal

)*$+'! [email protected]

@seraandroid / @paypaleurodev slideshare.net/PayPalEUDevs

39