c# - Windows 8 Web Authentication Broker can't connect to the service -


can web authentication broker used non oauth authentication ?

i have created asp.net mvc2 website login page want use through web authentication broker retrieve , persist authentication cookie.

here code :

webauthenticationresult webauthenticationresult = await webauthenticationbroker.authenticateasync( webauthenticationoptions.none, new uri("https://localhost:44301/account/logon"), new uri("https://localhost:44301/")); 

when loaded wab returns following message "can't connect service" , when looking event viewer there navigation error event.

is wrong code or there no way connect cookie based login page ?

web authentication broker meant winrt applications.

in case have several options.

  1. use dotnetopenauth directly

  2. upgrade mvc4 , use support provided via asp.net 4.5's addition of oauth functionality included in default templates. see using oauth providers mvc it's super easy integrate mvc app.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -