thunder-client-support icon indicating copy to clipboard operation
thunder-client-support copied to clipboard

NTLM Authentication does not attach token on 401 and resubmit similiar to Fiddler

Open pp6024 opened this issue 1 year ago • 1 comments

Describe the bug

  1. Sending a api request to IIS server with Single Sign On with NTLM
  2. Responds with 401 / www-authenticate: Negotiate, NTLM

Thunder appears to ignore the second 401 with the token and then resubmit.

A second 401 / www-authenticate: Negotiate <Token> is then received. Followed by a 200 / [Response Array]

To Reproduce

  1. Sending a api request to IIS server with Single Sign On with NTLM
  2. Responds with 401 / www-authenticate: Negotiate, NTLM

Expected behavior

  1. A second 401 / www-authenticate: Negotiate <Token> is then received.
  2. Resend the request with token added to header
  3. Return response data with 200 return.

Windows 10

  • IIS 8.5
  • vscode version: 1.76.1
  • extension version: 2.5.1

Your Team Size Using TC: Just me now. Up to 5 if adopted over Fiddler for VSC testing.

pp6024 avatar Mar 14 '23 21:03 pp6024

Thanks @pp6024 for reporting the issue, will look into it.

rangav avatar Mar 14 '23 21:03 rangav

The issue is fixed in v2.18.0 https://github.com/rangav/thunder-client-support/releases/tag/v2.18.0

rangav avatar Mar 02 '24 13:03 rangav