Create JWT (JSON Web Token) With RS256

Get an access token for JWT authentication!

Function createjwttokenwithrs256() inputs:

  • issuer (Text) - Integration Key
  • subject (Text)
  • scope (Text) - Purpose for generating token
  • audience (Text)
  • privateKey (Text) - Private Key in pkcs8 format(Appian Doc Id). To Convert it to pkcs8 use this command in CMD: openssl pkcs8 -topk8 -inform PEM -outform DER -in privatekey.txt -nocrypt > pkcs8_key
Anonymous