CarlosJuncher03 opened a new issue, #6524:
URL: https://github.com/apache/hop/issues/6524

   ### Apache Hop version?
   
   2.17
   
   ### Java version?
   
   17
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   In version 2.17, when configuring a REST connection via metadata using an 
API key (setting the header name and value, e.g., Authorization: Bearer 
<token>), the header value is not validated/applied when the request is sent to 
the API.
   
   If I change the authentication method to Basic Authentication and provide 
username/password, the request works.
   
   Additionally, if the Test URL field is left blank, Hop fails to 
test/validate the connection.
   
   Steps to reproduce
   
   Open Hop 2.17.
   
   Create/edit Metadata → REST Connection.
   
   Select authentication by API key.
   
   Fill in:
   
   Header name: Authorization (or any other)
   
   Header value: <Token>
   
   If you create a rets connection in 2.16, it won't work in 2.1
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Hop Gui


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to