NOTE: The code in this tutorial is now out-of-date, however the fundamental concepts of OAuth that we teach are still 100% valid.
OAuth2: that mystical beast that you kind of understand and occasionally wrestle to integrate with some social media site.
Time to master OAuth2... and why not do it by building a real app with farmers, chickens and real-life providers like Facebook and Google Plus. We'll show you how OAuth really works while looking at how OAuth will feel by using SDK's and other tools that give you shortcuts.
And like always, we'll go directly at the ugly details, like token expiration and having a user deny access to your application. Here's what you'll be learning: