• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
OAuth: The API Gatekeeper
 

OAuth: The API Gatekeeper

on

  • 1,036 views

Now that you have built your API, how do you let the right people have access to the right API at the right time? This talk covers the basics of API access management and then does a deep dive into ...

Now that you have built your API, how do you let the right people have access to the right API at the right time? This talk covers the basics of API access management and then does a deep dive into modern authorization architectures.

Statistics

Views

Total Views
1,036
Views on SlideShare
959
Embed Views
77

Actions

Likes
1
Downloads
39
Comments
0

1 Embed 77

http://apigee.com 77

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    OAuth: The API Gatekeeper OAuth: The API Gatekeeper Presentation Transcript

    • The API Gatekeeper Dick Hardt Monday, November 4, 13
    • Agenda 2 Monday, November 4, 13
    • Agenda •Access Control Overview 2 Monday, November 4, 13
    • Agenda •Access Control Overview •OAuth History 2 Monday, November 4, 13
    • Agenda •Access Control Overview •OAuth History •OAuth Flows 2 Monday, November 4, 13
    • Agenda •Access Control Overview •OAuth History •OAuth Flows •Implementation Steps 2 Monday, November 4, 13
    • Agenda •Access Control Overview •OAuth History •OAuth Flows •Implementation Steps •What can go wrong? 2 Monday, November 4, 13
    • Agenda •Access Control Overview •OAuth History •OAuth Flows •Implementation Steps •What can go wrong? •Q & A 2 Monday, November 4, 13
    • Authorization Code 3 Monday, November 4, 13
    • Authorization Code •key into database 3 Monday, November 4, 13
    • Authorization Code •key into database –user, scope, app id, expiry (5 min) 3 Monday, November 4, 13
    • Authorization Code •key into database –user, scope, app id, expiry (5 min) •token (self contained) 3 Monday, November 4, 13
    • Authorization Code •key into database –user, scope, app id, expiry (5 min) •token (self contained) –user, scope, app id, expiry (5 min) 3 Monday, November 4, 13
    • Authorization Code •key into database –user, scope, app id, expiry (5 min) •token (self contained) –user, scope, app id, expiry (5 min) –JWT 3 Monday, November 4, 13
    • Access Token Lifecycle 4 Monday, November 4, 13
    • Access Token Lifecycle •key into database 4 Monday, November 4, 13
    • Access Token Lifecycle •key into database –user, scope, app id, expiry, status 4 Monday, November 4, 13
    • Access Token Lifecycle •key into database –user, scope, app id, expiry, status •token (self contained) 4 Monday, November 4, 13
    • Access Token Lifecycle •key into database –user, scope, app id, expiry, status •token (self contained) –user, scope, app id, expiry (60 minutes) 4 Monday, November 4, 13
    • Access Token Lifecycle •key into database –user, scope, app id, expiry, status •token (self contained) –user, scope, app id, expiry (60 minutes) –JWT 4 Monday, November 4, 13
    • Access Token Lifecycle •key into database –user, scope, app id, expiry, status •token (self contained) –user, scope, app id, expiry (60 minutes) –JWT •Refresh token 4 Monday, November 4, 13
    • Access Token Lifecycle •key into database –user, scope, app id, expiry, status •token (self contained) –user, scope, app id, expiry (60 minutes) –JWT •Refresh token –user, scope, app id, expiry / status 4 Monday, November 4, 13
    • Access Token Lifecycle •key into database –user, scope, app id, expiry, status •token (self contained) –user, scope, app id, expiry (60 minutes) –JWT •Refresh token –user, scope, app id, expiry / status –JWT 4 Monday, November 4, 13
    • API Authorization Middleware implementation dependent Monday, November 4, 13
    • X-RateLimit-Limit: 500 X-RateLimit-Remaining: 432 Monday, November 4, 13
    • Developer Documentation / Sandbox Monday, November 4, 13
    • Developer Documentation / Sandbox Monday, November 4, 13
    • What can go wrong? 8 Monday, November 4, 13
    • What can go wrong? •Compromise of client secret 8 Monday, November 4, 13
    • What can go wrong? •Compromise of client secret •Compromise of access tokens (server) 8 Monday, November 4, 13
    • What can go wrong? •Compromise of client secret •Compromise of access tokens (server) –Developer rests client secret 8 Monday, November 4, 13
    • What can go wrong? •Compromise of client secret •Compromise of access tokens (server) –Developer rests client secret –All access tokens are invalidated 8 Monday, November 4, 13
    • What can go wrong? •Compromise of client secret •Compromise of access tokens (server) –Developer rests client secret –All access tokens are invalidated –Refresh tokens still work, but require new secret 8 Monday, November 4, 13
    • What can go wrong? •Compromise of client secret •Compromise of access tokens (server) –Developer rests client secret –All access tokens are invalidated –Refresh tokens still work, but require new secret •Compromise of access token (client) 8 Monday, November 4, 13
    • What can go wrong? •Compromise of client secret •Compromise of access tokens (server) –Developer rests client secret –All access tokens are invalidated –Refresh tokens still work, but require new secret •Compromise of access token (client) –User revokes authorization 8 Monday, November 4, 13
    • What can go wrong? •Compromise of client secret •Compromise of access tokens (server) –Developer rests client secret –All access tokens are invalidated –Refresh tokens still work, but require new secret •Compromise of access token (client) –User revokes authorization •Resolution is self service 8 Monday, November 4, 13