Support for digest authentication with web requests using internal addresses

verified

#1

Continuing the discussion from Assistance with "Make web request" action:

1) Give a description of the problem
A web request using an internal address which includes username:password@ in the URL (e.g., http://username:[email protected]) that goes to a target that requires digest authentication does not work.

2) What is the expected behavior?
The same as what happens when an external address is used. I.e., WC/ST should detect that the target requires digest authentication and should resend the request with the proper headers.

3) What is happening/not happening?
$httpStatusCode of 408 (timeout)

4) Post a Green Snapshot of the pistonimage

5) Attach any logs (From ST IDE and by turning logging level to Full)

image


Getting authorization error when running Piston
Assistance with "Make web request" action
Local web request
#2

FWIW, looks like there’s at least one digest authentication implementation available for reference:

This is used in a DTH, but I would assume similar things could be done in the WC groovy code.