https://linen.dev logo
#help
Title
# help
r

Rahul Verma

06/18/2023, 3:20 PM
Hi folks, just want to know is it possible to enable basic authnetication for all the stubs at one go or at wiremock instance level instead of individual stubs
b

Bas Dijkstra

06/18/2023, 5:23 PM
Hey @Rahul Verma , you can do that by creating a custom request filter and loading that when you start your WireMock instance. An example can be found in this repo: https://github.com/basdijkstra/wiremock-extensions This video explains what and how, check around the 19 minute mark: https://www.youtube.com/live/ubmy7DwNqcU?feature=share Let me know if you need anything else.