New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 25 users

Issue metadata

Status: Assigned
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Sign in to add a comment

Issue 623464: Authentication dialog is not shown when ServiceWorker returns 401 response.

Reported by, Jun 27 2016 Project Member

Issue description

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
402 bytes View Download
100 bytes View Download
266 bytes View Download

Comment 1 by, Jun 27 2016

I think we have to implement authentication related methods of URLRequestJob in ServiceWorkerURLRequestJob.
(NeedsAuth, GetAuthChallengeInfo, SetAuth, CancelAuth, ContinueWithCertificate)

Comment 2 by, 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.

Comment 3 by, Aug 17 2017

I have another user reporting issues with this. Do we have an update on this issue?

Comment 4 by, 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.

Comment 5 by, 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:

Comment 6 by, Apr 3 2018


Sign in to add a comment