Register your apps for Google login with Mobile Services
This is an Azure Mobile Services topic. This service has been superseded by Azure App Service Mobile Apps and is scheduled for removal from Azure. We recommend using Azure Mobile Apps for all new mobile backend deployments. Read this announcement to learn more about the pending deprecation of this service.
Learn about migrating your site to Azure App Service.
Get started with Azure Mobile Apps, see the Azure Mobile Apps documentation center.
This topic shows you how to register your apps to be able to use Google to authenticate with Azure Mobile Services.
This tutorial is about Azure Mobile Services, a solution to help you build scalable mobile applications for any platform. Mobile Services makes it easy to sync data, authenticate users, and send push notifications. This page supports the Get Started with Authentication tutorial, which shows how to sign in users to your app.
If this is your first experience with Mobile Services, please complete the tutorial Get Started with 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 website, sign-in with your Google account credentials, click Create Project, provide a Project name, then click Create.
In the Products & services drop down menu, click API Manager, then under Social APIs click Google+ API > Enable API.
Click Credentials > OAuth consent screen, then select your Email address, enter a Product Name, and click Save.
In the Credentials tab, click Add credentials > OAuth 2.0 client ID, then select Web application.
- .NET backend:
- .NET backend:
On the next screen, make a note of the values of the client ID and client secret.
You are now ready to configure your mobile service to use Google sign-in for authentication in your app.