interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Http kernel does not add authentication by default

Open ahmed-boukhari opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Default authentication is not available when using HTTP requests. Specifically, the problem I have encountered is with windows authentication.

Describe the solution you'd like Adding default authentication to HttpKernel.cs, to make NTLM/Kerberos authentication available from the running instance of VS Code.

HttpClientHandler handler = new()
{
    Credentials = CredentialCache.DefaultCredentials,
};
_client = client ?? new HttpClient(handler);

Describe alternatives you've considered I've tried the steps for interactive authentication for NTLM, mentioned in the documentation and a code example, but I have not succeeded.

ahmed-boukhari avatar Jan 03 '24 17:01 ahmed-boukhari