Mastering OAuth 2.0 Front Cover

Mastering OAuth 2.0

  • Length: 235 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2016-01-06
  • ISBN-10: 1784395404
  • ISBN-13: 9781784395407
  • Sales Rank: #2019607 (See Top 100 Books)
Description

About This Book

  • Learn how to use the OAuth 2.0 protocol to interact with the world’s most popular service providers, such as Facebook, Google, Instagram, Slack, Box, and more
  • Master the finer details of this complex protocol to maximize the potential of your application while maintaining the utmost of security
  • Step through the construction of a real-world working application that logs you in with your Facebook account to create a compelling infographic about the most important person in the world-you!

Who This Book Is For

If you are an application developer, software architect, security engineer, or even casual programmer looking to leverage the power of OAuth 2.0, this book is for you. A basic knowledge of programming and OAuth 2.0 is recommended.

What You Will Learn

  • Discover the power and prevalence of OAuth 2.0 and use it to improve your application’s capabilities
  • Step through the process of creating a real-world application that interacts with Facebook using OAuth 2.0
  • Examine the various workflows described by the specification, looking at what they are and when to use them
  • Get to know about the many security considerations involved in creating an application that interacts with other service providers
  • Develop your debugging skills with dedicated pages for tooling and troubleshooting
  • Expand your knowledge of OAuth 2.0 by discovering the many ways OAuth 2.0 can be extended
  • Build your own rich, powerful applications by leveraging world-class technologies from companies around the world

In Detail

OAuth 2.0 is a powerful authorization framework that enables your application to interact with the world’s most popular service providers, allowing you to leverage their world-class technologies in your own application.

At the start of this book, you will learn what OAuth 2.0 is, how it works, and the steps involved in creating an OAuth 2.0 application. You will first look at the process of registering your client application. Following this, you will explore the different supported workflows, their differences, and when they should be used. Once this groundwork is laid, you will put that knowledge to use by creating a sample application that talks to Facebook using OAuth 2.0.

By the end of the book, you will know how to make a secure and robust OAuth 2.0 application. You will explore different tools and effective methods for debugging. In addition, you will look at important security considerations for your application. Finally, you will understand the different implications of making a native mobile application versus a traditional web application.

Table of Contents

Chapter 1: Why Should I Care About OAuth 2.0?
Chapter 2: A Bird’s Eye View of OAuth 2.0
Chapter 3: Four Easy Steps
Chapter 4: Register Your Application
Chapter 5: Get an Access Token with the Client-Side Flow
Chapter 6: Get an Access Token with the Server-Side Flow
Chapter 7: Use Your Access Token
Chapter 8: Refresh Your Access Token
Chapter 9: Security Considerations
Chapter 10 : What About Mobile?
Chapter 11: Tooling and Troubleshooting
Chapter 12: Extensions to OAuth 2.0
Appendix A: Resource Owner Password Credentials Grant
Appendix B: Client Credentials Grant
Appendix C: Reference Specifications

To access the link, solve the captcha.