Register your apps for Twitter login with Mobile Services
This is an Azure Mobile Services topic. This service has been superceded by Azure App Service Mobile Apps. We recommend using Azure Mobile Apps for all new mobile backend deployments. You should consider migrating your site to Azure App Service.
To 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 Twitter 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 Add authentication to your app tutorial which shows how to sign users into 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 Twitter account that has a verified email address. To create a new Twitter account, go to twitter.com.
Navigate to the Twitter Developers website, sign-in with your Twitter account credentials, and click Create new app.
Type the Name, Description, and Website values for your app, then type one of the following URL formats in Callback URL.
- .NET backend:
Make sure that you use the correct redirect URL path format for your type of Mobile Services backend. When this is incorrect, authentication will not succeed.
- .NET backend:
At the bottom the page, read and accept the terms, and then click Create your Twitter application.
This registers the app displays the application details.
Click the Keys and Access Tokens tab in your app dashboard and make a note of the values of Consumer key and Consumer secret.
Click the Settings tab, scroll down and make sure the Allow this application to be used to sign in with Twitter checkbox is checked, then click Update Settings.
You are now ready to use a Twitter login for authentication in your app by providing the consumer key and consumer secret values to Mobile Services.