wso2netsuiteconnector

WSO2 Integration Studio Netsuite connector change authentication


I am trying to use the Netsuite connector in WSO2, currently it authorizes with email and password. My Netsuite account is a high-priviledged account as I need to access information about Sales Orders and Customers. When I try to use the connector, it gives a response saying I need two-factor authentication. Is there any way to edit the connector so it authorizes with a bearer token? This way I don't need TFA.

I have tried editing the XML files of the connector's init.xml file to take in the access token but it didn't work.


Solution

  • Instead of using the connector, I created my own SOAP payload and used the tokenPassport object for authentication which I discovered thanks to @ycr :) now my Netsuite integration is working properly