OAuth 2 in Action Front Cover

OAuth 2 in Action

  • Length: 360 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2017-03-18
  • ISBN-10: 161729327X
  • ISBN-13: 9781617293276
  • Sales Rank: #112896 (See Top 100 Books)
Description

Summary

OAuth 2 in Action teaches you the practical use and deployment of this HTTP-based protocol from the perspectives of a client, authorization server, and resource server. You’ll learn how to confidently and securely build and deploy OAuth on both the client and server sides. Foreword by Ian Glazer.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Think of OAuth 2 as the web version of a valet key. It is an HTTP-based security protocol that allows users of a service to enable applications to use that service on their behalf without handing over full control. And OAuth is used everywhere, from Facebook and Google, to startups and cloud services.

About the Book

OAuth 2 in Action teaches you practical use and deployment of OAuth 2 from the perspectives of a client, an authorization server, and a resource server. You’ll begin with an overview of OAuth and its components and interactions. Next, you’ll get hands-on and build an OAuth client, an authorization server, and a protected resource. Then you’ll dig into tokens, dynamic client registration, and more advanced topics. By the end, you’ll be able to confidently and securely build and deploy OAuth on both the client and server sides.

What’s Inside

  • Covers OAuth 2 protocol and design
  • Authorization with OAuth 2
  • OpenID Connect and User-Managed Access
  • Implementation risks
  • JOSE, introspection, revocation, and registration
  • Protecting and accessing REST APIs

About the Reader

Readers need basic programming skills and knowledge of HTTP and JSON.

About the Author

Justin Richer is a systems architect and software engineer. Antonio Sanso is a security software engineer and a security researcher. Both authors contribute to open standards and open source.

Table of Contents

Part 1 First steps
Chapter 1. What Is Oauth 2.0 And Why Should You Care?
Chapter 2. The Oauth Dance

Part 2 Building an OAuth 2 environment
Chapter 1. Building A Simple Oauth Client
Chapter 2. Building A Simple Oauth Protected Resource
Chapter 3. Building A Simple Oauth Authorization Server
Chapter 4. Oauth 2.0 In The Real World

Part 3 OAuth 2 implementation and vulnerabilities
Chapter 1. Common Client Vulnerabilities
Chapter 2. Common Protected Resources Vulnerabilities
Chapter 3. Common Authorization Server Vulnerabilities
Chapter 4. Common Oauth Token Vulnerabilities

Part 4 Taking OAuth further
Chapter 1. Oauth Tokens
Chapter 2. Dynamic Client Registration
Chapter 3. User Authentication With Oauth 2.0
Chapter 4. Protocols And Profiles Using Oauth 2.0
Chapter 5. Beyond Bearer Tokens
Chapter 6. Summary And Conclusions

To access the link, solve the captcha.