Can someone help me understand, how this scenario is handled?
Here are the steps what I am following
I am clear with this.
Now I have to verify these pacts when a Provider deploys a newer version.
As per my understanding, we should trigger "verify pacts" to check all the pacts for my provider application. But the problem here is that the Auth token in the Pacts file might have expired. How can I update the token again and verify this during provider build?
This guide sets out how you can handle these scenarios: https://docs.pact.io/provider/handling_auth.
See also steps 8-10 in this workshop that demonstrate the recommended strategy.