pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.66k stars 279 forks source link

[Question] Using PWABuilder for a password protected environment #2073

Closed blankster closed 2 years ago

blankster commented 2 years ago

Question in detail We would like to use PWABuilder for our application, which is currently only available on a test environment that is additionally password protected by HTTP authentication. We're in the early stage and don't want to make our testing system accessible without a password. What's the correct approach going forward for such a scenario?

Is your question related to a problem? Please describe. This case is relevant for all applications is an early stage in the development, but where first test users should be able to use it.

Describe alternatives you've considered Not using PWABuilder

Additional context The test environment is protected by a standard HTTP authentication which isn't user-based but protects the test system for unwanted access/indexing. The production system will not have such protection and is publicly available.

ghost commented 2 years ago

Hello blankster, thank you for your interest in PWABuilder!

I have automatically added a "needs triage" label to help get things started. Our team will look into the question and answer ASAP. Other community members may also answer the question and provide feedback 🙌

JudahGabriel commented 2 years ago

For this, I'd recommend disabling HTTP auth in your local environment, then exposing it to the public web via NGrok. Once you do that, you can run PWABuilder on your ngrok URL, which will tunnel into your localhost.