Hi All, i'm new here to pact and am very excited t...
# pact-js
n
Hi All, i'm new here to pact and am very excited to get using it!! I am curious however about authentication. I have already created a contract from a react consumer side and published the contract to pactflow. I am now on the provider side (Nest JS) and need to confirm that the provider can provide what is in the contract. The exact Interaction is simply getting a users information, but the user needs to be logged in for us to get the information. So how would I be able to have pact authenticate so that it can reach the endpoint on the provider side and confirm the contract is good? Please let me know if you would like me to provide any additional information.
m
There is also an e2e example project in the repo that shows how you can deal with auth
also the JS workshop 👇 (howtolearn)
s
Here are a number of useful hands-on labs that teach all of the key concepts: https://docs.pactflow.io/docs/workshops and https://docs.pact.io/implementation_guides/workshops
n
Thank you! They have helped a bit still reading into them 🙂
👍 1