CryptoJS is definitely what you want. I use it and...
# suitescript
c
CryptoJS is definitely what you want. I use it and it works fine for token based authentication
a
It works for token based. But in this case Google wants a RSA SHA-256 algorithm and CryptoJS doesn’t have it.
c
yeah it may not (i haven't dug that deeply into it). Did you find a library that did what you wanted?
a
hi... can you provide me some code sample ... I am trying to setup the TBA for restlet call
c
for 2.0, there's a sample on github for the Oauth 1.0a 2.0 module that is available there