This book is 40% complete

Last updated on 2016-07-25

About the Book

OAuth is oft-hated by developers for being difficult to work with because of poor documentation, abandoned client libraries, and inconsistent implementations between vendors.

This book discusses how OAuth came into being, what the protocol is trying to achieve and then breaks down both the OAuth 1.0 and OAuth 2.0 specifications into easily understood parts so that developer can understand how they work.

The book examines major vendors' implementations to show how and why they deviate from the specification, and how developers can implement a secure, standards compliant OAuth 2.0 server to protect their APIs.

In addition there are a number of case studies showing how to develop custom grants, deploy OAuth 2.0 in non-typical environments such as single page webapps and other examples of nifty tricks you can use.

About the Author

Alex Bilbie
Alex Bilbie

I've been shouting about and writing code for OAuth for many years. I've spoken at conferences, argued on podcasts and answered many tweets and emails about why OAuth is an awesome protocol to use in your stack.

I've decided to sum up all of my knowledge in a single book to dispell some of the controvesy and untruths about OAuth, and to help developers build secure and standards compliant implementations.

I've read the specs so you don't have to!

Causes Supported

Electronic Frontier Foundation

Defending your civil liberties in a digital world.

Based in San Francisco, EFF is a donor-supported membership organization working to protect fundamental rights regardless of technology.

From the Internet to the iPod, technologies are transforming our society and empowering us as speakers, citizens, creators, and consumers. When our freedoms in the networked world come under attack, the Electronic Frontier Foundation (EFF) is the first line of defense. EFF broke new ground when it was founded in 1990—well before the Internet was on most people's radar—and continues to confront cutting-edge issues defending free speech, privacy, innovation, and consumer rights today. From the beginning, EFF has championed the public interest in every critical battle affecting digital rights.

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub