You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
also, since it will be windows auth of the server in this case you can transfer browser windows user by using impersonation like this :
var wi = (WindowsIdentity)context.User.Identity;
// transfer windows user of the browser request (impersonate)
await WindowsIdentity.RunImpersonatedAsync(wi.AccessToken, async () =>
{
using (var responseMessage = await _httpClient.SendAsync(targetRequestMessage, HttpCompletionOption.ResponseHeadersRead, context.RequestAborted))
{
context.Response.StatusCode = (int)responseMessage.StatusCode;
this.CopyFromTargetResponseHeaders(context, responseMessage);
await this.ProcessResponseContent(context, responseMessage);
}
});
Activity
dragouf commentedon Nov 20, 2020
also, since it will be windows auth of the server in this case you can transfer browser windows user by using impersonation like this :