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 Azure Mobile Services.
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.
Navigate to the Google apis web site, sign-in with your Google account credentials, and then click Create project....
Click API Access and then click Create an OAuth 2.0 client ID....
Under Branding Information, type your Product name, then click Next.
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.
For a .NET backend mobile service published to Azure by using Visual Studio, the redirect URL is the URL of your mobile service appended with the path signin-google your mobile service as a .NET service, such as
Under Client ID for web applications, make a note of the values of Client ID and Client secret.
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.