PWA with http basic auth are not opened




7 months ago
2 months ago


(Reporter: bugzilla, Unassigned)


(Blocks 1 bug)

Firefox 64
Dependency tree / graph

Firefox Tracking Flags

(firefox66 wontfix, firefox67 affected)


User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

I have created a PWA app. This PWA app protects its content with http basic auth. I followed the tutorial at to setup the http basic auth for PWA's. You can find my app at 

Actual results:

The WebApp opens, but the window remains white. There will be no credentials request window but also no content is displayed which will be sent by the PWA if no login is done or it fails.

Expected results:

The WebApp should open. Then a Dialogbox should query the credentials. If these have been entered correctly (and send to the WebApp), the protected content of the WebApp should be shown.

Is this still the case with Nightly 67? Thanks.

Flags: needinfo?(bugzilla)
Priority: -- → P3

I installed the nightly version from the Google Playstore now. When i open the PWA in the browser, i get first the Popup to fill the credentials. After that, i get a popup, whit the notification that i can add the shortcut automatically to the Desktop. I have done this. Then i closed all running browser processes, clicked the added shortcut icon. The page loads, but i get a 401 error page. No Popup for the credentials.

If you want, i can share with you directly the URL for testing (don't want to make the URL public). Its also possible that we can exchange directly via Teamviewer or anything else, so that you can see my webserver configuration. It's a Nginx server at my private Raspberry Pi. Maybe that's shortens the way a little bit, to resolve that small issue. Feel free to contact me by e-Mail.

Flags: needinfo?(bugzilla)

I tested a little bit further. Now, when i re-open the PWA in the Firefox 67 Android (closing all tabs before), i never get the credential popup again. I'm not sure, if that is a miss-configured webserver, or the fault of Firefox. However, opening the page on Desktop, always asks for credentials, except the page loads from the cache or the session is active. Opening the üage in Firefox 64.0.1 in the browser, works as expected and asks for the credentials.

You need to log in before you can comment on or make changes to this bug.