HTTP RESTlet connection
Need to create a HTTP or REST API connection to trigger a RESTlet script. Assume I'm not the first one to use RESTlets but I can't find documentation. Who can help me configure OAuth 2.0 for Netsuite REST web service?
Some steps are covered here
https://docs.celigo.com/hc/en-us/articles/360039586072-Set-up-an-OAuth-2-0-HTTP-connection
Tnx
Dan
0
Comments
Hi Dan Byström,
We're looking into the answer for this for you, but would recommend that you enter a support ticket to get this figured out quickly. Thank you for letting us know about this need and we'll try to get documentation created as soon as possible.
Dan Byström you can't really use NetSuite's Oauth 2 for this exact reason. The access token you get after initially authenticating only lasts for 60 minutes and the refresh token only lasts for 7 days. After the 7 days, you would be required to reauth the connection. Having to do this makes it non ideal to use Oauth 2 for integrations. Instead of Oauth 2, you should use Oauth 1 TBA and here is an article on how to set it up: https://docs.celigo.com/hc/en-us/articles/14349054963995-Set-up-an-OAuth-1-0-connection-to-NetSuite-SuiteTalk-APIs-including-SuiteQL-
Docs discussing refresh token 7 day limit on Oauth 2:
Hi Tyler Lamparter,
I appreciate this reply from you, nice to have the info in one place. I recall reading something here that Celigo had plans to better support connecting to RESTlets. Does that ring a bell? Is there anything coming that will simplify interacting with RESTlets?
Steve Klett are you referring to the Oauth1 authentication type that was added to the universal HTTP connector in January? Here is the article on how to use it for SuiteTalk apis, but the authentication would just about be the same for RESTlets. https://docs.celigo.com/hc/en-us/articles/14349054963995-Set-up-an-OAuth-1-0-connection-to-NetSuite-SuiteTalk-APIs-including-SuiteQL-
Please sign in to leave a comment.