Skip to content

Commit

Permalink
Mobile: fixed some more auth bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ggailey777 committed Feb 18, 2014
1 parent 56f8f31 commit b3066cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ This topic shows you how to register your apps to be able to use Google to authe

![][4]

>[WACOM.NOTE]For a .NET backend mobile service published to Windows 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 <code>https://todolist.azure-mobile.net/signin-google</code>.

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

![][5]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ This topic shows you how to register your apps to be able to use Twitter to auth

![][2]

<div class="dev-callout"><b>Note</b>
<p>The <strong>Web Site</strong> value is required but is not used.</p>
</div>

>[WACOM.NOTE]For a .NET backend mobile service published to Windows 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 <code>https://todolist.azure-mobile.net/signin-twitter</code>. <br />The <strong>Web Site</strong> value is required but is not used.

3. At the bottom the page, read and accept the terms, type the correct CAPTCHA words, and then click **Create your Twitter application**.

Expand Down
4 changes: 2 additions & 2 deletions includes/mobile-services-windows-dotnet-authenticate-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
6. Add the following code snippet to the MainPage class:

private MobileServiceUser user;
private async System.Threading.Tasks.Task Authenticate()
private async System.Threading.Tasks.Task AuthenticateAsync()
{
while (user == null)
{
Expand Down Expand Up @@ -35,7 +35,7 @@

protected override async void OnNavigatedTo(NavigationEventArgs e)
{
await Authenticate();
await AuthenticateAsync();
RefreshTodoItems();
}
Expand Down

0 comments on commit b3066cc

Please sign in to comment.