With token authentication and SOAP within NetSuite...
# suitescript
s
With token authentication and SOAP within NetSuite, do they provide a way to authenticate the oauth token information?
s
Can you reword the question? NS has to verify the token information else TBA wouldn't be a very useful authentication mechanism. Maybe you mean validating the token client-side before sending to NS?
s
Yeah, we need to validate the token rather via postman or client
c
do you have to do this? its either gonna let you go through with TBA or not
s
that's what I was planning on doing, but the netsuite admin wanted me to check first lol.
s
your oauth library may have a validation function, but since the token is something you create client side I'm not sure what it gains you. NS may have a token verification endpoint? If it's just an attempt to ensure you have a sane token you could do some checks that the header looks like a proper oauth token, but only netsuite (the receiver) that actually verifies it.