WebPagetest Forums

Full Version: Basic auth is sent to subsequent domains as well
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If I enable basic auth for running a test on https://foo.com and foo.com page contains, for example, a js file loaded from https://cdn.bar.com/bundle.js then the basic auth Authorization header is being sent to that domain as well.

Do you think this is a desired behaviour ?
Desired or not, it is the expected behavior. The auth header is added to all requests and there isn't support for only adding it to requests for certain origins.
(09-06-2018 04:56 AM)pmeenan Wrote: [ -> ]Desired or not, it is the expected behavior. The auth header is added to all requests and there isn't support for only adding it to requests for certain origins.

Expected where ? As far as I know, this is not how the browser works.
Reference URL's