Authenticate API call using oAuth Authentication

Seven Stars

Authenticate API call using oAuth Authentication

I need to create API endpoint in talend for our client's to use & need to implement oAuth authentication for that API call.




I am guessing that we need to have our own Oauth server to be able to to implement that? how do we integrate authentication into API endpoint created in Talend.


I see that this can just take OAuth bearer? where that token gets generated from & how that authenticate my API endpoint? Do we need to hardcode that value since I believe that value changes for every call.


I have implemented OAuth in salesforce as consumer but not from OAuth as provider. in this case, we need to be able to act as OAuth provider & should be able to authenticate API endpoint calls as well.


We are using talend 6.4 enterprise version & has ESB as well.

Seven Stars

Re: Authenticate API call using oAuth Authentication

Any response/direction to this would be really helpful. 

Community Manager

Re: Authenticate API call using oAuth Authentication

I sense you are new to ESB and as such have A LOT of reading to do. You wouldn't use the tRestClient for providing an endpoint.

Take a look at the page below and it will give you an understanding of what this will take. It is not just a case of configuring a few components unfortunately....
Seven Stars

Re: Authenticate API call using oAuth Authentication

I am sorry, I meant tRestRequest, I have created endpoint that consumer can use however I need to add authentication to that endpoint.


seems like SAML require lot of additional work, how can just to Use Authentication (ESB Runtime only) basic http as mentioned below


 tRestRequest_use authentication.PNG


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 this service in ESB runtime
  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.


any idea?

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.



Introduction to Talend Open Studio for Data Integration.


Downloads and Trials

Test drive Talend's enterprise products.