Authentication is a critical part of almost every web application. Today our users expect more than simple local authentication. They want support for third-party authentication, so they can use a single account to sign in to multiple websites. OAuth and OAuth 2.0 are protocols for doing just that.