I try to get data from a REST API (Atlassian Jira) where my user is logged in with Single Sign On. Does any of you have experience with that? Is there a way to authenticate the Knime workflow before making the request?
The KNIME API nodes - e.g. GET Request - take credentials. When you have one of these node’s configuration windows open, navigate to “Authentication,” select “Basic,” and try putting in the SSO credentials there.
I tried that before, but that doesn’t work. Here’s the thing. If I put the API URL in my browser window, I get all information I expect. Because I am signed in to Atlassian with SSO in my browser.
If I run the same URL in the “GET Request” node without authentication, I get:
WARN GET Request 3:27 Call #1 failed: java.util.concurrent.ExecutionException: javax.ws.rs.ProcessingException: java.net.SocketTimeoutException: SocketTimeoutException invoking https://xxx.atlassian.net/rest/api/latest/users/search?username=0&startAt=0&maxResults=0&includeActive=true&includeInactive=true: Read timed out
When I add my credentials as a Basic Authentication I get the response 401 Unauthorized and the body is empty. And I tried all authentication methods of the node already.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.