mockserver-client-node icon indicating copy to clipboard operation
mockserver-client-node copied to clipboard

Possibility of authorization for control plane requests using JWT

Open KirillMehtiev opened this issue 2 years ago • 0 comments

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.

KirillMehtiev avatar Jan 20 '23 15:01 KirillMehtiev