Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering OAuth 2.0

You're reading from   Mastering OAuth 2.0 Create powerful applications to interact with popular service providers such as Facebook, Google, Twitter, and more by leveraging the OAuth 2.0 Authorization Framework

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher Packt
ISBN-13 9781784395407
Length 238 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (17) Chapters Close

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

Tools

Before we dive into troubleshooting, it would be beneficial to explore the tools we will be using. Fortunately for us, the toolset required for effectively troubleshooting an OAuth 2.0 workflow is quite simple and widely available. We will primarily be using two tools to troubleshoot our flows. They are:

  • A modern web browser, such as Chrome, Firefox, or Edge
  • cURL, the command-line utility

That's it! With these two tools in your arsenal, you are equipped to effectively troubleshoot any OAuth 2.0 workflow.

Tip

What is cURL?

cURL (pronounced as it is spelled, "curl") is a command-line utility for transferring data and making HTTP requests. It is provided natively in most Linux/Unix-based operating systems, including Mac OS X. There is support for it on Windows, but must be installed manually.

It is a great utility for testing OAuth 2.0 workflows as you can use it to simulate many of the requests that your application will make, but you can do so via simple command-line commands...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime