JuanArana
06/30/2023, 12:10 PMI am trying to create a token based on TBA authorization flow. Has anyone here managed to get past step 1 and get the unauthorized token?
battk
06/30/2023, 12:45 PMJuanArana
06/30/2023, 5:04 PMJuanArana
06/30/2023, 5:09 PMI have tried to implement the entire process of the first step by scrupulously following the NetSuite documentation but for some reason the signature that I generate does not seem to be correct since in the Login Audit Trail it always returns the error "InvalidSing". Could you help me with this ?
battk
06/30/2023, 5:09 PMJuanArana
06/30/2023, 5:11 PMJuanArana
06/30/2023, 5:12 PMJuanArana
06/30/2023, 5:13 PMoauth_consumer_key=${oauth_consumer_key}
,
oauth_nonce=${oauth_nonce}
,
oauth_signature_method=${oauth_signature_method}
,
oauth_timestamp=${oauth_timestamp}
,
oauth_token=${oauth_token_secret}
,
oauth_version=${oauth_version}
,
// role=${role}
].*join*('&')
)JuanArana
06/30/2023, 5:14 PM${secureProtocol} realm="${realm}", oauth_callback="${oauth_callback}", oauth_consumer_key="${oauth_consumer_key}", oauth_nonce="${oauth_nonce}", oauth_signature_method="${oauth_signature_method}", oauth_signature="${oauth_signature}", oauth_timestamp="${oauth_timestamp}", oauth_version="${oauth_version}"
pm.collectionVariables.*set*("Authorization", Authorization);JuanArana
06/30/2023, 5:15 PMbattk
06/30/2023, 5:16 PMJuanArana
06/30/2023, 6:39 PMHave you ever used this package in node.js? Has it worked for you?
battk
06/30/2023, 6:43 PMJuanArana
06/30/2023, 7:03 PMJuanArana
06/30/2023, 7:26 PMAs the documentation indicates, is this end-point (http://{{ACCOUNT_ID}}.<http://restlets.api.netsuite.com/rest/requesttoken)|restlets.api.netsuite.com/rest/requesttoken)> correct to obtain the unauthorized token?
battk
06/30/2023, 7:50 PMbattk
06/30/2023, 7:51 PMbattk
06/30/2023, 7:51 PMbattk
06/30/2023, 7:54 PMbattk
06/30/2023, 7:55 PMJuanArana
07/01/2023, 9:09 AMbattk
07/01/2023, 1:10 PM