WSO2 Integration Studio Netsuite连接器更改身份验证

huangapple go评论61阅读模式
英文:

WSO2 Integration Studio Netsuite connector change authentication

问题

我正在尝试在WSO2中使用Netsuite连接器,目前它使用电子邮件和密码进行授权。我的Netsuite账户是一个高权限的账户,因为我需要访问销售订单和客户信息。当我尝试使用连接器时,它返回一条消息说我需要双因素身份验证。是否有办法编辑连接器,使其使用令牌进行授权?这样我就不需要双因素身份验证了。

我已经尝试编辑连接器的init.xml文件的XML文件,以接受访问令牌,但没有成功。

英文:

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.

答案1

得分: 0

目前,电子邮件和密码作为SOAP头发送,就像此处所示。您需要想出如何发送Bearer令牌,然后相应地更改负载。

英文:

At the moment the Email and the password is send as a SOAP Header as in here. You will have to figure out how to send the Bearer token and then change the Payload accordingly.

答案2

得分: 0

不使用连接器,我创建了自己的SOAP有效负载,并使用了tokenPassport对象进行身份验证,这是我通过@ycr发现的 WSO2 Integration Studio Netsuite连接器更改身份验证 现在我的Netsuite集成正常工作。

英文:

Instead of using the connector, I created my own SOAP payload and used the tokenPassport object for authentication which I discovered thanks to @ycr WSO2 Integration Studio Netsuite连接器更改身份验证 now my Netsuite integration is working properly

huangapple
  • 本文由 发表于 2023年6月21日 23:57:14
  • 转载请务必保留本文链接:https://go.coder-hub.com/76525145.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定