Options for JSON Web Tokens in PeopleCode
Hello,
I was wondering what the best options are for decoding and verifying JSON web tokens in PeopleCode. We have been able to decode via use of the delivered base64_decode algorithm inside of an algorithm chain and profile utilized by the Crypt class.
What I haven't been able to do is figure out how to use the HS256 algorithm to verify the signature of a JWT as it doesn't appear to be a delivered algorithm.
Is there is a way to add HS256 to the list of usable algorithms?
Another direction I've started looking into is using a Java class to handle JWTs entirely instead of PeopleCode. Is there a java class available that can perform the functionality above? Would we have to load in an external class like Auth0 java-jwt?