Not sure where to start here. but has anyone conne...
# suitetalkapi
p
Not sure where to start here. but has anyone connected MS PowerApps with NetSuite. Seen a few articles online but most people seen o have issues with OAUTH.
đŸ‘€ 1
n
I have an email from a customer we integrated with that figured this out. Ill try to pull out the information he found and see if it helps you in any way. The root of the problem with the oauth connection was the sorting of the parameters before encoding them
Re-reviewing the threads you sent out and a couple others, it does seem the sorting of the parameters was the problem, but not quite how we understood it. Using this site lti.tools/oauth/ I started building the authorization header, which starts off this way with the query parameters:
*first image
When those get passed to NS, it resorts them like so:
*second image
We assumed it was only the query parameters being sorted; all of them are. The parameter string then becomes:
deploy=1&oauth_consumer_key=consumerKey&oauth_nonce=ae0c76e3d9084dd&oauth_signature_method=HMAC-SHA256&oauth_timestamp=1662644098&oauth_token=token&oauth_version=1.0&script=899
And that’s successfully logging into NS and hitting the restlet with the same return as Postman:
Not a lot to go off of, but using postman and that link, maybe it will give you a good starting point