Hello everybody,
We are running into an issue when trying to use TFIMSSO to generate JWT tokens for the junctionned backends.
We followed Shane's "guide" (https://www.ibm.com/blogs/sweeden/isam-9-0-2-the-jwt-sts-module-and-junction-sso-to-websphere-liberty/) to implement iv-creds to jwt transformation by the STS. For most of our usecases it works as expected.
But we are now running into an issue with unauthenticated users, and need to find a proper solution.
Our reverse proxy has an /api junction on which the tfimsso has been enabled. That junction goes to our api gateway (APIConnect) and allows the different webapplications (SPA) to consume apis.
The issue appears when our authentication web application tries to consume api's from that /api junction. At that moment the user is unauthenticated, and when we try to consume api's from /api, Webseal does not allow the request to reach the backend.
It seems that from the moment we activate TFIMSSO on the /api junction, unauthenticated access is not allowed anymore (even if the ACL allows it).
We think it is because the STS default behavior when using a module chain is to validate that there is an authenticated user.
We found some documentation (
https://www.ibm.com/support/knowledgecenter/en/SSZSXU_6.2.2.7/com.ibm.tivoli.fim.doc_6227/troubleshoot/concept/operationalissues.html and
https://www-01.ibm.com/support/docview.wss?uid=swg27050504&aid=8 ) that mentions the fact that a custom configuration has to be applied on TFIM/STS so that iv-creds from an unauthenticated user are considered valid.
Can someone gives us a few more details on where exactly can we configure this (advanced tuning parameters?) and how ?
For example, if we specify "
sts.ivcred.unauthenticated.user.name=guest" , must a "guest" user exists somewhere in the LDAP ?
Thanks for any tips on this very specific question,
------------------------------
André Leruitte
------------------------------