title: Local Debugging of Azure Functions with Authentication
body: <p>I've configured my UWP app to authenticate using a MobileServiceClient. This appears to be working fine. The ClaimsPrincipal object is authenticated when executing remotely. However, I'm unable to retrieve the ClaimsPrincipal from my Azure Function when debugging locally.</p>
  
  <p>I believe this is because I need to configure my local server with a matching SigningKey, ValidAudiences, and ValidIssuers settings; as described in this <a href="http://www.systemsabuse.com/2015/12/04/local-debugging-with-user-authentication-of-an-azure-mobile-app-service/" rel="nofollow noreferrer">article</a> covering Mobile App Services. </p>
  
  <p>But I'm working with Azure Functions and not a Mobile App Service, and configuration appears to work differently.</p>
  
  <p>How can I configure my local server to correctly interpret the credentials passed from my mobile app?</p>