Get the full video, script, activities and code at: https://knpuniversity.com/screencast/oauth
OAuth: that mystical beast that you kind of understand and occasionally wrestle to integrate with some social media site.
Time to master OAuth… 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:
– 3 main OAuth grant types: client credentials, authorization code and implicit;
– The exact flow behind getting your application authorized, exchanging an authorization code for a token, and using the token;
– Authentication (single sign-on) using OAuth;
– Handling expired tokens;
– Using refresh tokens;
– Integrating and authentication with Facebook;
– OAuth integration with Google+;
– What to look out for with security and how you can tighten things.