Tag: oAuth

OAuth 2.0 Support for Asterisk 13, so XMPP connections to Google Voice can be made using the more secure oAuth authentication

If you are running Asterisk 13 (or are ready to upgrade to Asterisk 13) and are using it to connect to one or more Google Voice accounts, you can now use oAuth authentication instead of the problematic username/password, without resorting to the use of a pre-built distribution that may contain features you don’t need and don’t want. The details are here:

OAuth 2.0 Support for Asterisk 13

Also, if you have a Raspberry Pi and would like to make a clean build of Asterisk and FreePBX, the same author (RonR) has provided instructions here. Just be sure to select Asterisk 13 when installing if you want to use the oAuth 2.0 support:

FreePBX for the Raspberry Pi

Or, if you’re sick of FreePBX and are ready to try a new interface to Asterisk, he has you covered there as well:

XiVO PBX for the Raspberry Pi

All of the above links are to threads at DSLReports. Note that the install scripts in the last two links can take some time to run, especially on an older model Raspberry Pi where they could take a few hours to complete (I believe you must have a Raspberry Pi 2 at a minimum to use the XiVO build). But when you are through, you’ll have a nice clean install, without the extraneous and mostly non-useful stuff found in a certain pre-built image.

Link: How to Write an OAuth Client to Access Data on Other Applications

oauth github authorize

Developers can register an application with GitHub’s OAuth service to access user data.

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)

Featured Article:

Recent Posts

Recent Comments

Archives

Categories

Meta

GiottoPress by Enrique Chavez

%d bloggers like this: