Permalink
Browse files

#415: tech review comments and first completed draft of iOS auth

  • Loading branch information...
1 parent 996a831 commit bdddac0dcd5c96c5a3369438ced586075db98888 @ggailey777 ggailey777 committed Oct 14, 2012
@@ -1,49 +0,0 @@
-<div class="dev-callout"><b>Note</b>
-<p>To complete the procedure in this topic, you must have a Facebook account that has a verified email address and a mobile phone number. To create a new Facebook account, go to <a href="http://go.microsoft.com/fwlink/p/?LinkId=268285" target="_blank">facebook.com</a>.</p>
-</div>
-
-1. Navigate to the [Facebook Developers] web site and sign-in with your Facebook account credentials.
-
-2. (Optional) If you have not already registered, click **Register Now** button, accept the policy, provide any and then click **Done**.
-
- ![][0]
-
-3. Click **Apps**, then click **Create New App**.
-
- ![][1]
-
-4. Choose a unique name for your app, select **OK**.
-
- ![][2]
-
- This registers the app with Facebook
-
-5. Under **Select how your app integrates with Facebook**, expand **Website with Facebook Login**, type the URL of your mobile service in **Site URL**, and then click **Save Changes**.
-
- ![][3]
-
-6. Make a note of the values of **App ID** and **App Secret**.
-
- ![][4]
-
- <div class="dev-callout"><b>Security Note</b>
- <p>The app secret is an important security credential. Do not share this secret with anyone or distribute it with your app.</p>
- </div>
-
-You are now ready to integrate authentication by using Facebook into your app by providing the App ID and App Secret values to Mobile Services.
-
-<!-- Anchors. -->
-
-<!-- Images. -->
-[0]: ../Media/mobile-services-facebook-developer-register.png
-[1]: ../Media/mobile-services-facebook-add-app.png
-[2]: ../Media/mobile-services-facebook-new-app-dialog.png
-[3]: ../Media/mobile-services-facebook-configure-app.png
-[4]: ../Media/mobile-services-facebook-completed.png
-
-<!-- URLs. -->
-[facebook.com]: http://go.microsoft.com/fwlink/p/?LinkId=268285
-[Facebook Developers]: http://go.microsoft.com/fwlink/p/?LinkId=268286
-[Get started with authentication]: ./mobile-services-get-started-with-users-dotnet.md
-[WindowsAzure.com]: http://www.windowsazure.com/
-[Windows Azure Management Portal]: https://manage.windowsazure.com/
@@ -1,45 +0,0 @@
-<div class="dev-callout"><b>Note</b>
-<p>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 <a href="http://go.microsoft.com/fwlink/p/?LinkId=268302" target="_blank">accounts.google.com</a>.</p>
-</div>
-
-1. Navigate to the [Google apis] web site, sign-in with your Google account credentials, and then click **Create project...**.
-
- ![][1]
-
-2. Click **API Access** and then click **Create an OAuth 2.0 client ID...**.
-
- ![][2]
-
-3. Under **Branding Information**, type your **Product name**, then click **Next**.
-
- ![][3]
-
-4. Under **Client ID Settings**, select **Web application**, type your mobile service URL in **Your site or hostname**, click **more options**, add your mobile service URL to the list of **Authorized Redirect URIs**, and then click **Create client ID**.
-
- ![][4]
-
-6. Under **Client ID for web applications**, make a note of the values of **Client ID** and **Client secret**.
-
- ![][5]
-
- <div class="dev-callout"><b>Security Note</b>
- <p>The client secret is an important security credential. Do not share this secret with anyone or distribute it with your app.</p>
- </div>
-
-You are now ready to integrate authentication by using Twitter into your app by providing the consumer key and consumer secret values to Mobile Services.
-
-<!-- Anchors. -->
-
-<!-- Images. -->
-[1]: ../Media/mobile-services-google-developers.png
-[2]: ../Media/mobile-services-google-create-client.png
-[3]: ../Media/mobile-services-google-create-client2.png
-[4]: ../Media/mobile-services-google-create-client3.png
-[5]: ../Media/mobile-services-google-app-details.png
-
-<!-- URLs. -->
-[accounts.google.com]: http://go.microsoft.com/fwlink/p/?LinkId=268302
-[Google apis]: http://go.microsoft.com/fwlink/p/?LinkId=268303
-[Get started with authentication]: ./mobile-services-get-started-with-users-dotnet.md
-[WindowsAzure.com]: http://www.windowsazure.com/
-[Windows Azure Management Portal]: https://manage.windowsazure.com/
@@ -1,37 +0,0 @@
-<div class="dev-callout"><b>Note</b>
-<p>When you intend to also provide single sign-on or push notifications from a Windows Store app, consider also registering your app with the Windows Store. For more information, see <a href="/en-us/develop/mobile/howto/register-for-live-connect-auth">Register your Windows Store apps for Windows Live Connect authentication</a>.</p>
-</div>
-
-1. Navigate to the [My Applications] page in the Live Connect Developer Center, and log on with your Microsoft account, if required.
-
-2. Click **Create application**, then type an **Application name** and click **I accept**.
-
- ![][1]
-
- This registers the application with Live Connect.
-
-10. Make a note of the value of **Client ID** and **Client secret**.
-
- ![][2]
-
- <div class="dev-callout"><b>Security Note</b>
- <p>The client secret is an important security credential. Do not share the client secret with anyone or distribute it with your app.</p>
- </div>
-
-<!-- Anchors. -->
-
-<!-- Images. -->
-[1]: ../Media/mobile-services-live-connect-add-app.png
-[2]: ../Media/mobile-services-live-connect-app-details.png
-
-<!-- URLs. -->
-[Single sign-on for Windows Store apps by using Live Connect]: ./mobile-services-single-sign-on-win8-dotnet.md
-[Submit an app page]: http://go.microsoft.com/fwlink/p/?LinkID=266582
-[My Applications]: http://go.microsoft.com/fwlink/p/?LinkId=262039
-[Get started with Mobile Services]: ./mobile-services-get-started.md
-[Get started with authentication]: ./mobile-services-get-started-with-users-dotnet.md
-[Get started with push notifications]: ./mobile-services-get-started-with-push-dotnet.md
-[Authorize users with scripts]: ./mobile-services-authorize-users-dotnet.md
-[JavaScript and HTML]: ./mobile-services-get-started-with-users-js.md
-[WindowsAzure.com]: http://www.windowsazure.com/
-[Windows Azure Management Portal]: https://manage.windowsazure.com/
@@ -1,65 +0,0 @@
-1. If you have not already registered your app, navigate to the [Submit an app page] at the Dev Center for Windows Store apps, log on with your Microsoft account, and then click **App name**.
-
- ![][0]
-
-2. Type a name for your app in **App name**, click **Reserve app name**, and then click **Save**.
-
- ![][1]
-
- This creates a new Windows Store registration for your app.
-
-3. In Visual Studio 2012 Express for Windows 8, open the project that you created when you completed the tutorial [Get started with Mobile Services].
-
-4. In solution explorer, right-click the project, click **Store**, and then click **Associate App with the Store...**.
-
- ![][2]
-
- This displays the **Associate Your App with the Windows Store** Wizard.
-
-5. In the wizard, click **Sign in** and then login with your Microsoft account.
-
-6. Select the app that you registered in step 2, click **Next**, and then click **Associate**.
-
- ![][3]
-
- This adds the required Windows Store registration information to the application manifest.
-
-9. Navigate to the [My Applications] page in the Live Connect Developer Center and click on your app in the **My applications** list.
-
- ![][6]
-
-10. Click **Edit settings**, then **API Settings** and make a note of the value of **Client secret**.
-
- ![][7]
-
- <div class="dev-callout"><b>Security Note</b>
- <p>The client secret is an important security credential. Do not share the client secret with anyone or distribute it with your app.</p>
- </div>
-
-11. In **Redirect domain**, enter the URL of your mobile service from Step 8, and then click **Save**.
-
-<!-- Anchors. -->
-
-<!-- Images. -->
-[0]: ../Media/mobile-services-submit-win8-app.png
-[1]: ../Media/mobile-services-win8-app-name.png
-[2]: ../Media/mobile-services-store-association.png
-[3]: ../Media/mobile-services-select-app-name.png
-[4]: ../Media/mobile-services-selection.png
-[5]: ../Media/mobile-service-uri.png
-[6]: ../Media/mobile-live-connect-apps-list.png
-[7]: ../Media/mobile-live-connect-app-api-settings.png
-[8]: ../Media/mobile-services-win8-app-advanced.png
-[9]: ../Media/mobile-services-win8-app-connect-redirect.png
-
-<!-- URLs. -->
-[Single sign-on for Windows Store apps by using Live Connect]: ./mobile-services-single-sign-on-win8-dotnet.md
-[Submit an app page]: http://go.microsoft.com/fwlink/p/?LinkID=266582
-[My Applications]: http://go.microsoft.com/fwlink/p/?LinkId=262039
-[Get started with Mobile Services]: ./mobile-services-get-started.md
-[Get started with authentication]: ./mobile-services-get-started-with-users-dotnet.md
-[Get started with push notifications]: ./mobile-services-get-started-with-push-dotnet.md
-[Authorize users with scripts]: ./mobile-services-authorize-users-dotnet.md
-[JavaScript and HTML]: ./mobile-services-get-started-with-users-js.md
-[WindowsAzure.com]: http://www.windowsazure.com/
-[Windows Azure Management Portal]: https://manage.windowsazure.com/
@@ -1,42 +0,0 @@
-<div class="dev-callout"><b>Note</b>
-<p>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 <a href="http://go.microsoft.com/fwlink/p/?LinkID=268287" target="_blank">twitter.com</a>.</p>
-</div>
-
-1. Navigate to the [Twitter Developers] web site, sign-in with your Twitter account credentials, and then click **Create an app**.
-
- ![][1]
-
-2. Type the **Name**, **Description**, and **Website** for your app, and type the URL of the mobile service in **Callback URL**.
-
- ![][2]
-
-3. At the bottom the page, read and accept the terms, type the correct CAPTCHA words, and then click **Create your Twitter application**.
-
- ![][3]
-
- This reigsters the app displays the application details.
-
-6. Make a note of the values of **Consumer key** and **Consumer secret**.
-
- ![][4]
-
- <div class="dev-callout"><b>Security Note</b>
- <p>The consumer secret is an important security credential. Do not share this secret with anyone or distribute it with your app.</p>
- </div>
-
-You are now ready to integrate authentication by using Twitter into your app by providing the consumer key and consumer secret values to Mobile Services.
-
-<!-- Anchors. -->
-
-<!-- Images. -->
-[1]: ../Media/mobile-services-twitter-developers.png
-[2]: ../Media/mobile-services-twitter-register-app1.png
-[3]: ../Media/mobile-services-twitter-register-app2.png
-[4]: ../Media/mobile-services-twitter-app-details.png
-
-<!-- URLs. -->
-[twitter.com]: http://go.microsoft.com/fwlink/p/?LinkId=268287
-[Twitter Developers]: http://go.microsoft.com/fwlink/?LinkId=268300
-[Get started with authentication]: ./mobile-services-get-started-with-users-dotnet.md
-[WindowsAzure.com]: http://www.windowsazure.com/
-[Windows Azure Management Portal]: https://manage.windowsazure.com/
@@ -10,7 +10,7 @@ This topic shows you how to register your apps to be able to use Facebook to aut
<p>To complete the procedure in this topic, you must have a Facebook account that has a verified email address and a mobile phone number. To create a new Facebook account, go to <a href="http://go.microsoft.com/fwlink/p/?LinkId=268285" target="_blank">facebook.com</a>.</p>
</div>
-1. Navigate to the [Facebook Developers] web site and sign-in with your Facebook account credentials.
+1. Navigate to the <a href="http://go.microsoft.com/fwlink/p/?LinkId=268286" target="_blank">Facebook Developers</a> web site and sign-in with your Facebook account credentials.
2. (Optional) If you have not already registered, click **Register Now** button, accept the policy, provide any and then click **Done**.
@@ -10,7 +10,7 @@ This topic shows you how to register your apps to be able to use Google to authe
<p>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 <a href="http://go.microsoft.com/fwlink/p/?LinkId=268302" target="_blank">accounts.google.com</a>.</p>
</div>
-1. Navigate to the [Google apis] web site, sign-in with your Google account credentials, and then click **Create project...**.
+1. Navigate to the <a href="http://go.microsoft.com/fwlink/p/?LinkId=268303" target="_blank">Google apis</a> web site, sign-in with your Google account credentials, and then click **Create project...**.
![][1]
@@ -22,7 +22,7 @@ This topic shows you how to register your apps to be able to use Google to authe
![][3]
-4. Under **Client ID Settings**, select **Web application**, type your mobile service URL in **Your site or hostname**, click **more options**, add your mobile service URL to the list of **Authorized Redirect URIs**, and then click **Create client ID**.
+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**.
![][4]
@@ -10,30 +10,31 @@ This topic shows you how to register your apps to be able to use Live Connect as
<p>When you intend to also provide single sign-on or push notifications from a Windows Store app, consider also registering your app with the Windows Store. For more information, see <a href="/en-us/develop/mobile/howto/register-for-live-connect-auth">Register your Windows Store apps for Windows Live Connect authentication</a>.</p>
</div>
-1. Navigate to the [My Applications] page in the Live Connect Developer Center, and log on with your Microsoft account, if required.
+1. Navigate to the <a href="http://go.microsoft.com/fwlink/p/?LinkId=262039" target="_blank">My Applications</a> page in the Live Connect Developer Center, and log on with your Microsoft account, if required.
2. Click **Create application**, then type an **Application name** and click **I accept**.
![][1]
This registers the application with Live Connect.
-10. Make a note of the value of **Client ID** and **Client secret**.
+10. Click **Application settings page**, then **API Settings** and make a note of the values of the **Client ID** and **Client secret**.
![][2]
<div class="dev-callout"><b>Security Note</b>
<p>The client secret is an important security credential. Do not share the client secret with anyone or distribute it with your app.</p>
</div>
+11. In **Redirect domain**, enter the URL of your mobile service from Step 8, and then click **Save**.
+
You are now ready to use a Microsoft Account for authentication in your app by providing the client ID and client secret values to Mobile Services.
<!-- Anchors. -->
<!-- Images. -->
[1]: ../Media/mobile-services-live-connect-add-app.png
-[2]: ../Media/mobile-services-live-connect-app-details.png
-
+[2]: ../Media/mobile-live-connect-app-api-settings.png
<!-- URLs. -->
[Single sign-on for Windows Store apps by using Live Connect]: ./mobile-services-register-for-single-sign-in.md
[Submit an app page]: http://go.microsoft.com/fwlink/p/?LinkID=266582
@@ -2,19 +2,19 @@
<div class="umbMacroHolder" title="This is rendered content from macro" onresizestart="return false;" umbpageid="14798" ismacro="true" umb_chunkname="MobileArticleLeft" umb_chunkpath="devcenter/Menu" umb_macroalias="AzureChunkDisplayer" umb_hide="0" umb_modaltrigger="" umb_chunkurl="" umb_modalpopup="0"><!-- startUmbMacro --><span><strong>Azure Chunk Displayer</strong><br />No macro content available for WYSIWYG editing</span><!-- endUmbMacro --></div>
-# Register your apps for Twitter login with Mobile Services
+#Register your apps for Twitter login with Mobile Services
This topic shows you how to register your apps to be able to use Twitter to authenticate with Windows Azure Mobile Services.
<div class="dev-callout"><b>Note</b>
<p>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 <a href="http://go.microsoft.com/fwlink/p/?LinkID=268287" target="_blank">twitter.com</a>.</p>
</div>
-1. Navigate to the [Twitter Developers] web site, sign-in with your Twitter account credentials, and then click **Create an app**.
+1. Navigate to the <a href="http://go.microsoft.com/fwlink/p/?LinkId=268300" target="_blank">Twitter Developers</a> web site, sign-in with your Twitter account credentials, and then click **Create an app**.
![][1]
-2. Type the **Name**, **Description**, and **Website** for your app, and type the URL of the mobile service in **Callback URL**.
+2. Type the **Name**, **Description**, and **Website** values for your app, and type the URL of the mobile service in **Callback URL**.
![][2]
@@ -44,7 +44,7 @@ You are now ready to use a Twitter login for authentication in your app by provi
<!-- URLs. -->
[twitter.com]: http://go.microsoft.com/fwlink/p/?LinkId=268287
-[Twitter Developers]: http://go.microsoft.com/fwlink/?LinkId=268300
+[Twitter Developers]: http://go.microsoft.com/fwlink/p/?LinkId=268300
[Get started with authentication]: ./mobile-services-get-started-with-users-dotnet.md
[WindowsAzure.com]: http://www.windowsazure.com/
[Windows Azure Management Portal]: https://manage.windowsazure.com/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit bdddac0

Please sign in to comment.