The Google+ Sign-in feature is deprecated and all legacy Google+ APIs have been shut down as of March 7, 2019. We recommend that developers migrate to Google Sign-in. Please see our migration tips for Sign-in.

For cases where developers are unable to move over before March 7th, we have created a new implementation of some Google+ APIs critical to sign-in only. The new implementation will only return basic fields necessary for sign-in functionality such as name and email address, if authorized by the user.

Sign In Users

Before your app can use Google+ features such as creating interactive posts and fetching profile and people information, users must sign in with their Google Accounts.

Set up Google Sign-In for Google+

To allow users to sign in, integrate Google Sign-In into your website. When you set up Google Sign-In for your site, also do the following:

  • When you create your client ID, enable the Google+ API in the API Console (see Enable the Google+ API).

  • When you configure the sign-in button, request the following scopes:


    If you create a sign-in button with your own assets, keep in mind the branding guidelines. In particular, when you request social scopes, you should use a red sign-in button with the Google+ logo.

Enable the Google+ API

Enable the Google+ API by following these steps:

  1. Go to the Google API Console .
  2. From the project drop-down, select an existing project , or create a new one by selecting Create a new project.

    Note: Use a single project to hold all platform instances of your app (Android, iOS, web, etc.), each with a different Client ID.

  3. Enable the Google+ API service:
    1. In the list of Google APIs, search for the Google+ API service.
    2. Select Google+ API from the results list.
    3. Press the Enable API button. Wait for the API to be enabled.
    This action adds the service to the Enabled APIs tab, which you can access by selecting APIs & Services on the left menu. You can turn off the Google Cloud services if you don't need them. Enable any other APIs that your app requires.
  4. In the sidebar under "APIs & Services", select Credentials, then select the OAuth consent screen tab.
    1. Choose an Email Address, specify a Product Name, and press Save.
  5. In the Credentials tab, select the Create credentials drop-down list, and choose OAuth client ID.
  6. Under Application type, select Web application.
    Register the origins from which your app is allowed to access the Google APIs, as follows. An origin is a unique combination of protocol, hostname, and port.
    1. In the Authorized JavaScript origins field, enter the origin for your app. You can enter multiple origins to allow for your app to run on different protocols, domains, or subdomains. You cannot use wildcards. In the example below, the second URL could be a production URL.
    2. The Authorized redirect URI field does not require a value. Redirect URIs are not used with JavaScript APIs.
    3. Press the Create button.
  7. From the resulting OAuth client dialog box, copy the Client ID and Client secret. The Client ID lets your app access enabled Google APIs.