Do the `basicAuth` keys support regex matching? <h...
# wiremock-java
a
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
Hi @Aaron unfortunately it’s a literal equality check on the username and password, no ability to use matchers in that context.
a
Ok cool that's what I was thinking based off my quick check but good to get a definite answer
t
I’ve posted an answer on SO
👍🏻 1