Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to OAuth2.0 / Introduction to OAuth2

Introduction to OAuth2.0 / Introduction to OAuth2

perforb

July 18, 2017
Tweet

More Decks by perforb

Other Decks in Technology

Transcript

  1. D C RO D 7 C 1 D C c

    0 7 7 1 I 2 c7 2 UDe e 7 21 0 D L 2 1
  2. .

  3. • ) ( ) ( ) • • () (

    ) ) • ) ( ) ) )
  4.  •   – #  – " !

    •    –   !
  5.   • "# •   •  

        •     !  $
  6.   • "# •   •  

        •     !  $
  7. ( PI OD • R PI O 2 – )

    / ) – / ( 2 2 2 • 2 2 2 ( W
  8. . / e m hu fw n fw nlas ic

    p e m hu rb t P “ g R i o “ ewa n P O e m hu eji n e W O , B:4 -: 6B id t P ewa n . D 9W 9 6 : #7 D : # : 9D : A74 ( ) 9 A # BB A
  9. ) A • ( 0 . ) • ) )

    A • A ) A 2. O
  10. &( ) POST /oauth/token HOST: authorization-server Authorization: Basic client:secret Content-Type:

    application/x-www- form-urlencoded grant_type=password&username=foo&pa ssword=bar&scope=read,write
  11. ( ) ( POST /oauth/token HOST: authorization-server Authorization: Basic client:secret

    Content-Type: application/x-www- form-urlencoded grant_type=password&username=foo&pa ssword=bar&scope=read
  12. 

  13. _ 752 • cR U L . D IJ 0

    J JDA J 9I F 9AJLC 8 9L D IJA • 6 L L IAP9 A F /I9 IC J FA LF 9 A F 9 9F A L: A I 9 D • 5/- 6 L L IAP9 A F /I9 IC J DJ A I D I • L 9L IAP9 A F I9F b J CAIAIA 9 F9:D F IO • a T L J JDA J 9I F J9 9L • 4A 9D 19 9F J IAF J LIA O 9L ICJ J A L: 4A 9D 19 9F J IAF J LIA O 9L ICJ