SDK has clear instructions on how to implement basic authentication for webservices. I know from experience that the same steps work fine in CMS 6. But CMS 7 is such a continuous source of surprises; the instructions do not work as expected, at least when using MVC.
The problem is that basic authentication is prompted every time l need to login. Not just for /WebServices/ location, but also for edit/admin-view. Guess it is not by design, so what am I doing wrong or when can we expect a fix?
I also confirmed that the same problem occures with Alloy webforms sample page. I'll write a bug report for episerver.
Could this be related?
Seems like the default value for the sendBasicChallenge flag was changed to true as a part of configuration clean-up.
<episerver.basicAuthentication sendBasicChallenge="false" basicRealm="" />
inside the top configuration element should resolve your problem.
That worked! Thank you :)