title: WebAuthenticationBroker authenticate with LiveID returns Success status but no Security Token
body: <p>I am using ACS to authenticate in a Windows 8 application. I am observing exactly what I expect in that the UI displays the authentication dialog and on successfully entering my LiveID credentials I am returned to my code with a Success status but <strong>I do not receive a security token</strong>, I simply get "https://XXXXX.accesscontrol.windows.net/v2/wsfederation?wa=wsignin1.0" in result.ResponseData</p>
  
  <p>The code is as follows:</p>
  
  <pre><code>  string loginUriString = "https://XXXXX.accesscontrol.windows.net:443/v2/wsfederation?wa=wsignin1.0&amp;wtrealm=http%2f%YYYYY.cloudapp.net";
      string redirectUriSting = "https://XXXXX.accesscontrol.windows.net:443/v2/wsfederation";
  
      string authToken;
      bool IsAuthenticated = false;
  
      private async Task AuthenticateAsync()
      {           
          var requestUri = new Uri(loginUriString, UriKind.RelativeOrAbsolute);
  
          var redirectUri = new Uri(redirectUriSting, UriKind.RelativeOrAbsolute);
  
          //var testUri = WebAuthenticationBroker.GetCurrentApplicationCallbackUri();
  
          var result = await WebAuthenticationBroker.AuthenticateAsync(
              WebAuthenticationOptions.None,
              requestUri,
              redirectUri);
  
          if (result.ResponseStatus != WebAuthenticationStatus.Success)
              throw new Exception(string.Format("Login failed : {0}", result.ResponseErrorDetail));
  
          //authToken = ExtractTokenFromResponse(result.ResponseData);
  
          //if (!string.IsNullOrEmpty(authToken))
          //{
          _client.DefaultRequestHeaders.Authorization =
              new System.Net.Http.Headers.AuthenticationHeaderValue("OAuth", result.ResponseData);
  
          IsAuthenticated = true;
          //}
      }
  </code></pre>
  
  <p>I have seen one other SO question here with what seems like a similar problem but nothing else. Have I got something wrong?</p>