Skip to content

Possibility of authorization for control plane requests using JWT #162

@KirillMehtiev

Description

@KirillMehtiev

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions