Skip to content

NTLM Authentication Fails to Add Authorization Header in VS Code Extension #5775

@Ogweno-D

Description

@Ogweno-D

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • making Bruno unusable for me
  • slowing me down but I'm able to continue working
  • annoying
  • this feature was working in a previous version but is broken in the current release.

Bruno version

4.4.0

Operating System

Windows 10

Describe the bug

I am experiencing an issue where NTLM authentication is consistently failing for requests made from the VS Code extension. The server always returns a 401 Unauthorized error, and the Bruno logs confirm that the authentication headers are not being attached to the outgoing request.

The target server is a Microsoft Dynamics 365 Business Central instance using a SOAP web service.

.bru file to reproduce the bug

I do not have a file to reproduce the problem but the Bruno log in the VS Code "Output" tab consistently shows that only one header is being sent, which confirms the NTLM Authorization header is missing.

Received send-http-request for item 10hy03600000000000000 in collection 178555500000000000000
Collection name: Collection JSON
Preparing request for item: GET_VEHICLES_REQUEST
Final headers count for axios request: 1
IPC invoke response for send-http-request: {"status":401,"statusText":"Unauthorized","headers":{"content-length":"0","server":"Microsoft-HTTPAP..."}}

The server responds with the expected www-authenticate: NTLM header, indicating it is correctly challenging for NTLM credentials.

Screenshots/Live demo link

I do not have any screenshots but this is a log.

Received send-http-request for item 10hy03600000000000000 in collection 178555500000000000000
Collection name: Collection JSON
Preparing request for item: GET_VEHICLES_REQUEST
Final headers count for axios request: 1
IPC invoke response for send-http-request: {"status":401,"statusText":"Unauthorized","headers":{"content-length":"0","server":"Microsoft-HTTPAP..."}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions