Closed Bug 1515908 Opened 5 years ago Closed 3 years ago

PWA with http basic auth are not opened

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P3)

Firefox 64
defect

Tracking

(firefox66 wontfix, firefox67 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox66 --- wontfix
firefox67 --- affected

People

(Reporter: bugzilla, Unassigned)

References

Details

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 https://thatemil.com/blog/2018/02/21/pwa-basic-auth/ to setup the http basic auth for PWA's. You can find my app at https://github.com/Offerel/PHPMarks 


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.

Thanks for the information keep sharing such informative post keep suggesting such post https://www.provitalize.us/

We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.