Environment:
- SharePoint Server 2013 farm installed on my dev machine, configured for using apps
- VS 2012 Update2 + Office Tools
When I start debugging any example (say, basic provider-hosted app for SharePoint) of provider-hosted app I receive 401 error.
From what I understand, VS opens IIS Express for the purpose of debugging
Is there any way of how to configure such a dev environment to debug provider-hosted apps locally? (I'm aware of the possibility to use SharePoint online instead of local farm to successfully debug provider-hosted apps)
Update: I understand that provider hosted app should use ACS or S2S authentication in production or test environment. And there are resources describing how to configure that. What I'd like to have is an ability to easily debug provider hosted apps locally in the environment described above (just hit F5) Is that achievable without configuring ACS or S2S authentication locally(the same way it's required in prod environment)?
Update 2: I think the answer to my question is - "configure S2S authentication properly". After all I've got it working. I would recomment the following article as the most compact, descriptive and helpful one. If you need your provider-hosted app debuggable locally, just follow the steps in the article.