Book description
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.
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 Authors
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.
Quotes
Provides pragmatic guidance on what to do ... and what not to do.
- From the Foreword by Ian Glazer, Salesforce
Unmatched in both scope and depth. Code examples show how protocols work internally.
- Thomas O'Rourke, Upstream Innovations
A thorough treatment of OAuth 2 ... the authors really know this domain.
- Travis Nelson, Software Technology Group
A complex topic made easy.
- Jorge Bo, 4Finance IT
Publisher resources
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Foreword
- Preface
- Acknowledgments
- About this Book
- About the Authors
- About the Cover Illustration
- Part 1. First steps
- Part 2. Building an OAuth 2 environment
- Part 3. OAuth 2 implementation and vulnerabilities
- Part 4. Taking OAuth further
- Appendix A. An introduction to our code framework
- Appendix B. Extended code listings
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: OAuth 2 in Action
- Author(s):
- Release date: March 2017
- Publisher(s): Manning Publications
- ISBN: 9781617293276
You might also like
book
Solving Identity Management in Modern Applications: Demystifying OAuth 2, OpenID Connect, and SAML 2
Know how to design and use identity management to protect your application and the data it …
book
Istio in Action
Solve difficult service-to-service communication challenges around security, observability, routing, and resilience with an Istio-based service mesh. …
book
Solving Identity Management in Modern Applications: Demystifying OAuth 2.0, OpenID Connect, and SAML 2.0
Know how to design and use identity management to protect your application and the data it …
book
Designing APIs with Swagger and OpenAPI
Follow real-world API projects from concept to production, and learn hands-on how to describe and design …