C# Asp.Net Mvc Impesonate in inner Ajax
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVAnRNZPJwyg-9nj_h9r49Bfsg_XHmpOt1tw6W4XO8kbk6v_KvTWbxomFI4WcU-E1Oa3qd_oAhQYOtlRZkFxxpdDzrkML2RBkWGTh50stdq4c_jDjL5XAWID0pn4JfHofmwAVhMPys9tK2/s1600/1.png)
Scenario - an MVC app, while in the C# we are calling a REST api. To make the job easier we are using RestSharp The API is an inner api, using windows authentication my steps: 1. using NtlmAuthenticator 2. using default credentials 3. web config - added all the following 4. IIS -> your site -> Authentication -> changed to the following