Appian created JWT not validated by Tableau - JWT Plugin

Hi Community,

I am trying to generate a JWT using createtokenwithsecretkey() in JWT plugin (using HS256). When I use the generated token and hit the Tableau signin API, I get signin error and JWT is invalid ( details error code: 10083).

However, I use the same parameter details in a python code and use the token generated, the API returns me a successful response. Can anyone help me with the issue on Appian side please? 

createtokenwithsecretkey(
externalSystemKey: "jwt", /*Set the third party credentials in Admin Console */
iss: <tableau connected apps clientID>,
aud: "tableau",
typ: "JWT",
/*jti: fn!generateuuid(123),*/
exp: 43200
)

  Discussion posts and replies are publicly visible

Parents Reply
  • oh Wow! I missed that completely! Fixed it and still working on the format. I can clearly see the base64 Python code uses is definitely different from what Appian plugin is creating. I don't have access to the source code of the plugin, checking for any available git for that plugin. Will post if I could fix it. Meanwhile any hints and guidance is appreciated. Thank you for all your support.

Children