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 shreekrishnat0001

    Hi  , Thanks for quick response. I've set up the below things, yet receiving same response.

    How to test the connection in third party Credentials.?

    createtokenwithcustomclaims(
      externalSystemKey:"JWTTokenKey", 
      sub:"bdn-3jOZsAi38MUo5PWhwyHP57tLWZnHspHPztA1HtKD", 
      iss:"bdn-3jOZsAi38MUo5PWhwyHP57tLWZnHspHPztA1HtKD", 
      alg:"PS256", 
      typ:"JWT",
      aud:"https://token.tiaa.XXX.com/as/token.oauth2", 
      jti:"jti111111111111673416931964", 
      exp:1709635533, 
      kid:"8879137017532837800857709831293634212", 
      x5t:null, 
      ver:null, 
      claims:null
    )

Children