Using OAuth, a developer can create an independent app that has access to its users’ accounts on other services. For example, Facebook lets developers create games whereby users of the games can post to their own walls on Facebook from within the app. The app doesn’t access the user’s credentials, thus keeping the interaction secure, and the user can at any time revoke the permissions granted to the app.
To accomplish this, Facebook and other services, including Google and GitHub, have implemented an OAuth service. There are two sets of code involved: The code running on the OAuth provider (e.g. Facebook itself), and the code running on the OAuth client (e.g. a site or app that lets you log in with your Facebook credentials). Between these two sets of code, programmers can write OAuth clients, e.g. websites and apps that let people log in using a provider such as Facebook. And that’s what we’re going to cover here.
Full article here:
How to Write an OAuth Client to Access Data on Other Applications (Linux.com)
Related articles:
What the Heck is OAuth? (SitePoint)
Authenticating with Google (Stormpath)
Authentic External: Authenticate users with OAuth providers (PHP Classes)
Python developer articles – OAuth step by step (Python Resources at Memect)
Tutorial: How to Implement Java OAuth 2.0 to Sign-In with GitHub and Google (Java Code Geeks)
Remote Access to Google Spreadsheets using Python, GSpread and OAuth2 (Warehouseman)
Using cURL, BASH and Google oAuth to access Google Analytics (jbmurphy.com)
Using OAuth2 with service account on gdata in python (Stack Overflow)
Upgrade Asterisk to an OAUTH2.0 connection with Google Voice (DSLReports)
Motion Google Drive Uploader for OAuth 2.0 (Jeremy’s Blog)