Free trial *Internet Service Required
  • On the page (jump to):

Register your apps for Google login with Mobile Services

This topic shows you how to register your apps to be able to use Google to authenticate with Windows Azure Mobile Services.

Note

To complete the procedure in this topic, you must have a Google account that has a verified email address. To create a new Google account, go to accounts.google.com.

  1. Navigate to the Google apis web site, sign-in with your Google account credentials, and then click Create project....

  2. Click API Access and then click Create an OAuth 2.0 client ID....

  3. Under Branding Information, type your Product name, then click Next.

  4. Under Client ID Settings, select Web application, type your mobile service URL in Your site or hostname, click more options, replace the generated URL in Authorized Redirect URIs with the URL of your mobile service appended with the path /login/google, and then click Create client ID.

  5. Under Client ID for web applications, make a note of the values of Client ID and Client secret.

    Security Note

    The client secret is an important security credential. Do not share this secret with anyone or distribute it with your app.

You are now ready to use a Google login for authentication in your app by providing the client ID and client secret values to Mobile Services.

Rss Newsletter