From: Dmitry Timoshkov Subject: Re: [PATCH] urlmon: Handle failure using HTTP Basic authentication scheme by asking user/password. Message-Id: <20210610103516.86935920a3208133df5a0839@baikal.ru> Date: Thu, 10 Jun 2021 10:35:16 +0300 In-Reply-To: References: <20210607193959.8adb4a83abf0bfc70b244302@baikal.ru> <9a342b6e-4db0-039e-e616-d700e3e05aef@codeweavers.com> <20210608220241.9403c896904b10ab1d8468fc@baikal.ru> Jacek Caban wrote: > My understanding is that we should ask for IAuthenticate interface on > BSC and let it handle the authentication. GUI asking for credentials is > likely something that urlmon needs to do in response to some return > values from Authenticate, but I don't know that without testing it > myself. Then there is a question if MSHTML should implement > IAuthenticate, but it may not matter in your case (depending on the > answer to above). > > > If you didn't already, I would suggest to write a test and experiment. I > know that tests involving GUI may not be something for the tree (well, > unless in interactive mode), but maybe with testing IAuthenticate it > would be possible to test the rest of the stack. I'm testing with wine's iexplore and pointing it to an internal site with Basic authentification. httpbin.org provides similar functionality for testing purposes: $> wine iexplore http://httpbin.org/basic-auth/foo/bar user: foo, password: bar. Does this qualify as a test, or you mean something more specific? If something more specific, how that should look like? -- Dmitry.