WebAuthenticationBroker.AuthenticateSilentlyAsync throwing COM exception RRS feed

  • Question

  • Hi,

    I am using WAB to authenticate user with FB login. To remove a user's credential info on WAB, I have to hit the facebook signout URI. It seems to work perfectly with AuthenticateAndContinue however I can't get it to work with AuthenticateSilentlyAsync. I get the following error:  HRESULT E_FAIL has been returned from a call to a COM component 

    It doesn't seem to be a threading issue. There is no information on this on the web. I have to hit the signout URI without throwing UI popup so I have no alternative to AuthenticateSilentlyAsync.

    I would appreciate any help. I am building  a Windows Phone 8.1 binary. 

    • Edited by weemundo Saturday, April 4, 2015 2:05 PM forgot to add platform
    Saturday, April 4, 2015 2:05 PM

All replies

  • I'm not sure what exactly is the cause of such issues.

    You may try to following:

    >Clean the project and rebuild it.

    >Close the project go to its folder location and delete the bin and obj folders.

    >Make sure that the references assemblies in the project are located in the same location. To do so expand the References in the project and check each assemblies Path in the properties window.

    Have you tired this project on other machine?

    Best Regards,
    Please remember to mark the replies as answers if they help

    Monday, April 6, 2015 6:57 AM
  • I have tried that - doesn't work. 
    Wednesday, April 8, 2015 12:34 PM