Skip to content

[Bug]: REST Client - authentication failure with REST Connection metadata and API key #6697

@dave-csc

Description

@dave-csc

Apache Hop version?

2.17.0

Java version?

17.0.2

Operating system

Linux

What happened?

First, setup a REST Connection metadata that uses an API key for authentication: set header name and header value properly (example value: my_super_secret) and fill the Base URL and Test URL in order to make a valid test.

Then, make a pipeline with a REST Client and setup this in order to use the above connection metadata.

You will get an authentication error (usually HTTP 401) from the server, because the REST Client transform will send the header with a double value (i.e. my_super_secret,my_super_secret)

Issue Priority

Priority: 2

Issue Component

Component: Transforms, Component: Metadata

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions