Monday, November 25, 2013

Google+ JavaScript SDK Enhancements

Today we’re announcing a few updates to the Google+ JavaScript SDK APIs. These changes are backward compatible with current integrations, and are designed to make future integrations easier.

  • gapi.auth.signIn() triggers user sign-in and authorization in JavaScript, making it easier to integrate Google+ Sign-In with existing account creation flows. 
  • A new status field indicates whether users are signed in to Google and/or your website, and a new method field describes how the sign-in occurred. 
  • The sign-in callback is now dynamic when using page-level configuration. This makes it possible, for example, to sync your site’s user experience across multiple tabs. 

We hope these changes make it easier to integrate your website with Google+ Sign-In, and we welcome your feedback in the Developing with Google+ community.