Skip to content

Instantly share code, notes, and snippets.

@viveknaskar
Last active February 24, 2018 09:27
Show Gist options
  • Save viveknaskar/37e3d7281e06e86a86372d9c901d2af3 to your computer and use it in GitHub Desktop.
Save viveknaskar/37e3d7281e06e86a86372d9c901d2af3 to your computer and use it in GitHub Desktop.
OAuth
OAuth is a standard that applications (and the developers who love them) can use to provide client applications with “secure delegated access”. OAuth works over HTTP and authorizes Devices, APIs, Servers and Applications with access tokens rather than credentials, which we will go over in depth below.
There are two versions of OAuth: OAuth 1.0a and OAuth2. These specifications are completely different from one another, and cannot be used together: there is no backwards compatibility between them.
Which one is more popular? Great question! Nowadays (at this time of writing), OAuth2 is no doubt the most widely used form of OAuth. So from now on, whenever I write just “OAuth”, I’m actually talking about OAuth2 — as it is most likely what you’ll be using.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment