You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, the basicAuth option accept only exclude routes options but I need to protect one API route with basic authentification (for webhook purpose).
Describe the solution you'd like
Add an include option for basicAuth to set the route I want to protect.
Describe alternatives you've considered
Maybe access to basicAuthoption inside routeRules option can be a proper alternative ?
The text was updated successfully, but these errors were encountered:
In my personal opinion, the better approach would be to go with include option (as currently basic auth configuration is passed to private runtime config due to storing credentials).
@danielroe
Which option do you think would be better? Route Rules or maybe the include in the module configuration? (also right now, we support exclude option).
Is your feature request related to a problem? Please describe.
Currently, the
basicAuth
option accept onlyexclude
routes options but I need to protect one API route with basic authentification (for webhook purpose).Describe the solution you'd like
Add an
include
option for basicAuth to set the route I want to protect.Describe alternatives you've considered
Maybe access to
basicAuth
option insiderouteRules
option can be a proper alternative ?The text was updated successfully, but these errors were encountered: