Hi All, I am using the below command for my provi...
# pact-jvm
g
Hi All, I am using the below command for my provider verification details.
mvn clean install -Dpactbroker.url=<<broker-url>> -Dpact.provider.version=uv4f2d3 -Dpact.provider.branch=main -Dpact.verifier.publishResults=true -Dpactbroker.auth.username=user-Dpactbroker.auth.password=password
I couldn't find how the broker receiving the
Authorization token
here, I checked in the request header, but I am not seeing any auth token present there. Can someone help me how
pact-jvm
is passing the
basic auth
info to
pact-broker
when it's calling to the verification apis? #C9UN99H24 #C9VPNUJR2 @uglyog
m
Please don’t
@
maintainers, we monitor this channel and will respond when we can
the properties above are user/passwords (basic auth) not for takens
g
Thanks for your reply Matt. Sure I won't
@
maintainers in future. My question is how or in which format the pact broker server is receiving the auth details if we set in token/username-password? In normal cases, the basic auth is receiving in server end as Authorization token, but here in pact broker I couldn't see any request header having auth token present. #C9UN99H24 #C9VPNUJR2
thankyou 1
I got it, it's my mistake, haven't given proper environment variable for pact broker token. Thank you very much.
👍 1