Does anyone have any good documentation on making ...
# suitescript
d
Does anyone have any good documentation on making Webservices call to external webservices using SS2 preferably something that features OAuth2?
b
depending on the service, you should have a harder time obtaining the access token than using it
using it generally means adding a header with the access token
d
yes that is my concern is signing the tokens
I know there are JS libraries out there for just this case but I don’t know if/how I can import those libraries into NS
b
i havent used any for netsuite, i would expect most to not work since making outbound requests in netsuite server scripts is very non standard
you might be able to get one to work if you are doing something clientside
figure out which grant type is being used by your webservice. anything using client_credentials or password is relatively easy to do
d
AWS is what I would be accessing… so its not going to be easy
b
aws is too wide a category
pick which one of their many products you are trying to use.
d
Amazon Comprehend
b
distinctly not oauth2
i personally dont know of any aws service that uses ouath2
you are not in for a good time
its much harder than ouath2 in that is uses actual crypto