Generate JWT Token By External System Key

Certified Senior Developer

Hi,

I need to create JWT token, for this installed JWT Tools Plugin,

createtoken() function is pasking for externalSystemKey as param,

I don't know how and where to configure it, and if it dependent on other 3rd party integration, what to configure there and how it will handshake with apian to test?

Kindly guide us on this.

Thanks,

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to David Jimenez Calleja

    createtokenwithcustomclaims(
      externalSystemKey:"JWTKey", 
      sub:"bdn-3jOZsAi38MUo5PWhwyHP57tLWZnHspHPztA1HtKD", 
      iss:"bdn-3jOZsAi38MUo5PWhwyHP57tLWZnHspHPztA1HtKD", 
      alg:"PS256", 
      typ:"JWT",
      aud:"XXX", 
      jti:"jti111111111111673416931964", 
      exp:1709635533, 
      kid:"8879137017532837800857709831293634212", 
      x5t:null, 
      ver:null, 
      claims:null
    )

    Yes. I've configured the third party credentials with private key and used it in expression. However I received the same output "appianprivatekeypassword or appianprivatekey for Credential Store was null"

Children