https://linen.dev logo
Title
a

Aaron

03/02/2023, 4:23 PM
Do the
basicAuth
keys support regex matching? https://stackoverflow.com/questions/75614289/wiremock-json-template-basicauth-and-doesnotmatch-not-working I ran this locally and was getting the same error, even with switching to
basicAuthCredentials
.
t

Tom

03/02/2023, 5:36 PM
Hi @Aaron unfortunately it’s a literal equality check on the username and password, no ability to use matchers in that context.
a

Aaron

03/02/2023, 5:44 PM
Ok cool that's what I was thinking based off my quick check but good to get a definite answer
t

Tom

03/02/2023, 5:45 PM
I’ve posted an answer on SO
👍🏻 1