mockserver-client-node
mockserver-client-node copied to clipboard
Possibility of authorization for control plane requests using JWT
What you are trying to do
I turned on the JWT authorization for MockServer, and when I try to create an expectation (like mockServerClient("localhost", 1080, undefined, true).mockAnyResponse...) the server response with Unauthorized for control plane - no authorization header found
The solution you'd like
Add additional param right after caCertPemFilePath which will allow setting request headers for the control plane calls.