Join Slack
Powered by
anyone happen to have code that’d run server side ...
# suitescript
m
mtsb
05/18/2020, 9:52 PM
anyone happen to have code that’d run server side in NS to sign (RS256) a JWT?
m
michoel
05/18/2020, 11:43 PM
jwt.ts
jwt.ts
michoel
05/18/2020, 11:46 PM
I ported this code based on the library linked at the top. I didn't port the RS256 because I need it but hopefully this could at least be a starting point
m
mtsb
05/19/2020, 12:21 AM
FAN. TASTIC. this is great thank you sir!
t
Timothy
05/19/2020, 11:36 PM
https://github.com/kjur/jsrsasign/tree/4.8.0
i
Ichimoku
05/20/2020, 12:45 PM
I was able to do it using jsrasign but you would need to modify it a bit to have it run on server side.
Open in Slack
Previous
Next