Hey We’re trying to write contract test where the ...
# pact-jvm
a
Hey We’re trying to write contract test where the API uses bearer token which expires after a short period If we input the bearer from consumer test then it might get expired when test runs on provider , is there any workaround for that ? somehow we could declare a variable or dummy value which then gets replaced by the newly generated bearer when provider verification tests run ?
b
a
Hey guys , had a follow up question related to this I was checking the pactflow features here https://pactflow.io/features/ And saw that the feature to authenticate API using bearer token is a pactflow feature and not available in open source pact. does that mean authenticating API through bearer token is not possible in pact ?