Six Stars

try to connect to Oauth APi with th pallet's component

Hello
I try to retrieve and update data on a web portal. 
To do this I have to use an OAuth 1.0 API with token_key. 
If I understand correctly, I need to do a first exchange with the API that will allow me to connect, that it returns me the parameters to be used to send me the final application. 
Is this possible to do with the components of the pallets? 
If so which and how I send the parameters of the token?
Thanks
6 REPLIES
Moderator

Re: try to connect to Oauth APi with th pallet's component

Hi,
Are you looking for the feature mentioned in jira issue https://jira.talendforge.org/browse/PMESB-114?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: try to connect to Oauth APi with th pallet's component

hi,
I'm not allow to connect to your link
regards
Moderator

Re: try to connect to Oauth APi with th pallet's component

Hi,
Have you already registered a free account on Talend Bug Tracker Portal?
https://jira.talendforge.org/secure/Dashboard.jspa
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Moderator

Re: try to connect to Oauth APi with th pallet's component

Hi,
Is there any update for your issue?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: try to connect to Oauth APi with th pallet's component

Hi,
I have an account on the Talend Bug Tracker portal.
It's very strange. I can use  your link https://jira.talendforge.org/secure/Dashboard.jspa
but not the first that you sent me https://jira.talendforge.org/browse/PMESB-114.
For my problem, I know I must use the tRest component....but I can't found the solution
Regards
Employee

Re: try to connect to Oauth APi with th pallet's component

There is a way in which this *can* be done with Talend, but it will require some user interaction. I've written a tutorial on using OAuth 2.0 with Google's products here. It makes use of the refresh tokens and *should* be able to be extrapolated from for use with other products using OAuth 2.0. 
OAuth 1.0 is slightly different I understand, but this sort of method could be used. If you can't use this because you are running on a machine without a UI (unix, etc), then you could reasonably easily use email to inform users of action needed and then update a flat file or a db. The example I have given is pretty basic, but it should be pretty easy to extrapolate from this to get a workable solution.
I hope it helps