Post by Brian Laskey
We are currently trying to use SDI 220.127.116.11
SAML IdP is ADFS (in this case)
We're using a script connector to work with a REST API and handle the expiry of the access_token and renewal using the refresh_token or re-login if the refresh_token has expired.
We have just written that logic in the script connector. Obviously different, but the principal is that you have an httpConnector, call .queryReply on it and you will get a 302 back, then programatically you can re-issue the .queryReply to complete the SSO process through however many redirects you get.
httpConnector = system.getConnector("ibmdi.HTTPClient");
var responseEntry = httpConnector.queryReply(payloadEntry);
var httpResponseCode = responseEntry["http.responseCode"];
httpResponseCode == 302 --> get the redirect, configure the httpConnector and call .queryReply again.