Joining a growing number of enterprise and consumer-facing web services, Google has added support in Google Apps for the OAuth authorisation profile, the company announced. OAuth was chosen because it offers a more secure authentication option than the method already in place, noted Google software engineer Ankur Jain in a blog posting. Until now, administrators had to sign calls to Google Apps APIs (application programming interfaces) with their username and password, which is a security risk.
With OAuth, Google Apps can provide third party applications with tokens that can be used to access the APIs of different Google apps, eliminating the need to supply login names and passwords for each API call. The APIs for Google Apps provisioning, email migration, administration settings, calendar resources, email settings and audit all now interact with the OAuth signing mechanism.
Google is one of a number of enterprise web service providers that have recently signed on to using this authorisation protocol. Others include Salesforce.com and Microsoft Azure.
Consumer-facing web services started using the protocol as well. Twitter made OAuth mandatory for third party apps earlier this month and Facebook has started using version 2 of the protocol.
Google had been looking for some time for a simpler way for outside web application developers to secure their API calls, noted Eric Sachs, a product manager for the Google security team, in an interview earlier this year about version 2.0 of OAuth. Traditional web services security models such as SAML (Security Assertion Markup Language) and WS-Security proved to be too complex for those not well-versed in security. OAuth tokens work a bit like browser cookies, but for APIs, he said.
"That level of simplicity enables a lot of applications that might not have APIs to offer APIs," he said.
Find your next job with techworld jobs