Can we use http:// schemes instead of https:// in WebAuthenticationBroker class during AuthenticateAsync( )


  • I'm having problem during authentication process in my Windows Store application. i am using WebAuthenticationBroker Class for authentication. i have URL with http:// schemes but WebAuthenticationBroker class doesn't allow to proceed while using AuthenticateAsync( ). Exception was "only https:// schemes are allowed".

    So how can i solve this issue and authenticate with http:// schemes through WebAuthenticationBroker class.

    Ex: Uri signInUrl = new Uri("http://example.com");

    WebAuthenticationResult WebAuthenticationResult = await WebAuthenticationBroker.AuthenticateAsync( WebAuthenticationOptions.None, signInUrl);

    Thanks in advance.

    • Moved by Fred Bao Thursday, July 17, 2014 5:52 AM
    Wednesday, July 16, 2014 1:13 PM


All replies