Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility of authorization for control plane requests using JWT #162

Open
KirillMehtiev opened this issue Jan 20, 2023 · 0 comments
Open

Comments

@KirillMehtiev
Copy link

KirillMehtiev commented Jan 20, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant