Authentication dialog is not shown when ServiceWorker returns 401 response.
Project Member Reported by email@example.com, Jun 27 2016
Version: 51.0.2704.103 OS: All What steps will reproduce the problem? 1. Open index.html 2. Click "401.php". -> "Authentication Required" dialog is shown. 3. Click cancel and back to index.html. 4. Click "register SW" 5. Click "401.php". -> "Authentication Required" dialog is not shown. What is the expected output? expected: "Authentication Required" dialog is shown. This issue is originally reported in https://stackoverflow.com/questions/37934972/serviceworker-conflict-with-http-basic-auth
Jun 27 2016,
I think we have to implement authentication related methods of URLRequestJob in ServiceWorkerURLRequestJob. (NeedsAuth, GetAuthChallengeInfo, SetAuth, CancelAuth, ContinueWithCertificate)
Dec 30 2016,
I am having the same issue and it is causing us to forgo service workers and continue to use appcache. Is there an estimate on when this might be fixed? The last update I see is from June 27th.
Aug 17 2017,
I have another user reporting issues with this. Do we have an update on this issue?
Aug 17 2017,
It'll be some time still before a fix (probably multiple quarters). We are aggressively moving to a new architecture (issue 715640), which I expect will help with a lot of these issues around network interception, and don't have bandwidth to fix most of these existing bugs in the meantime.
Dec 7 2017,
I don't think the expected behaviour of showing an authentication dialog box is ever going to happen because the service worker may run at any time and having a dialog box popping up at an odd time will look like "magic". Discussion: https://github.com/w3c/ServiceWorker/issues/119
Apr 3 2018,
Sign in to add a comment