Support enabling/disabling basic auth at runtime #443
Labels
awaiting details
Waiting for feedback from the issue author, i.e. reproduction
enhancement
New feature or request
Milestone
Is your feature request related to a problem? Please describe.
In my app I want to enable / disable basic auth based on environment variables at boot time. I want to build the app only once and configure it dynamically at runtime. Currently, this is not possible, as basic auth can only be set at build time. The "nuxt-security:routeRules" hook does not respect changes to the basic Auth setting.
Describe the solution you'd like
Similar to the "nuxt-security:routeRules" hook, I want to be able to enable/disable basic auth at runtime.
The text was updated successfully, but these errors were encountered: