JWT

Overview

Generate and validate JSON web tokens for use in integrating and authenticating with external systems, using a JWKS registry to get public keys for token signature validation

Key Features & Functionality

  • createtoken (Function) - create a signed JSON web token with standard claims.
  • createtokenwithcustomclaims (Function) - create a signed JSON web token with standard claims and additional custom claims that may be required for authentication with specific systems.
  • validatejwtsignature (Function) - Verify a received token against the issuing system's public key. Returns true if token was verified.
  • decodeJWT (Function) - Given a JWKS registry URL and a token, retrieve the proper public key and validate the given token returning an string with the decoded token if signature is valid, null otherwise.
  • createDocuSignRSAJWTToken (Function) - Generates a JWT that conforms to the specs of DocuSign.

Anonymous
Parents
  • Hello, thank you for the excellent plugin! I have run into one issue with the 'createdocusignrsajwttoken' that I think might be an issue within the plugin itself.

    When passing in a GUID for a user to the 'sub' parameter (example: "13c51b9b-be89-4506-b86b-19e3e2216909"), I get the following error:

    Expression evaluation error at function 'createdocusignrsajwttoken': The passed parameter(s) are of the wrong type. Received the type com.appiancorp.common.xml.JaxbConversionException: JAXB was not able to produce a value for typed value TypedValue[it=3,v=13c51b9b-be89-4506-b86b-19e3e2216909] as java class java.lang.Integer.

    I downloaded and looked at the source for this particular function, and it appears to be taking in a string, so perhaps I am doing something else wrong? Otherwise, this plugin is exactly what I need, so I hope you can help clear this up for me!

  • Were you able to figure out what was wrong? I am running into a similar issue when trying to pass in a value for externalSystemKey parameter

Comment Children
No Data