Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a requirement where I have a number of RestFul API's that need to be exposed using Talend ESB. The services have been created and I have deployed them on Karaf container, no problem there. But, I need a user based authentication layer like OAuth2 to authenticate those requests. The web app that calls the Rest services is on a remote server. So basically, I need an auth server that is validating all incoming requests before Talend gives back the protected resource.
Can anyone please tell me if this something that can be done within Talend or do I need a separate auth server which Talend would call when receiving a request?
@tsteinborn Could you please help me out connect the dots here, we have 6.4.1 enterprise version.
I have create API endpoint using tRESTRequest & trying to use 'Use Authentication (ESB Runtime Only) Basic HTTP' option to enable authentication on my call, using this reference https://help.talend.com/reader/uwwCVAHxWDS6l5fZQ~lVYA/1CDi6NINp_q5p0PJbdgSnA
I have IAM service installed as well & have users created on IAM service. now how do I use that to authenticate API calls?
1) Created users on IAM service that is apache syncope
2) Updated TAC configuration to use IAM
3)deployed my API endpoint in ESB runtime as service
4)Added this endpoint under ESB Infrastructure-->Authorization & assigned permission to corresponding IAM user
now when I tried to test this call by passing authorization parameter as base64, I still gets 401 Unauthorized.
Hi Nmodi,
You would have first to activate HTTP_BASIC in your tRESTRequest component (Provider service). Then, everything will be handled at the Talend Runtime level.
By Default, the Talend Runtime's Basic Authentication will be checked against a local file <RuntimeFolder>/etc/users.properties, the authentication ins Talend Runtime is done using JAAS, and the default JAAS Realm (against which the credentials are checked) is not Talend IDM, but Karaf Realm, meaning the users.properties.
In order to use TIDM, you need to switch the Runtime configuration, by opening a Karaf Console, and putting tesb:switch-sts-tidm, as explained in our documentation: https://help.talend.com/reader/N_IWLhlko~bkC9c3_frIgQ/k8Zevl8GSEyBrKg4FYTKog
The previous link will be very useful in understanding and setting up your Basic Authentication configuration.
I hope this helps!