I'm trying to encode a JWT to include as part of the response from a Restlet in SS2.0
I can't get the crypto.createSecretKey to generate something though to be able to HMAC hash the signature. I keep seeing references to adding a credentials field to a suitelet which somehow generates a GUID I can use to generate the secretKey object. Is there a way to do that in a Restlet or should I just import a 3rd party module?