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
  • 0
    Certified Lead Developer

    I had similar issues in the past. The problem was with the key. That key can bei either as text, base64 encoded, or a binary representation. And the Appian plugin only works with one variant. I had downloaded the plugin and checked the source code to find out what exactly is going on.

    After some trial and error I had it working.

Reply
  • 0
    Certified Lead Developer

    I had similar issues in the past. The problem was with the key. That key can bei either as text, base64 encoded, or a binary representation. And the Appian plugin only works with one variant. I had downloaded the plugin and checked the source code to find out what exactly is going on.

    After some trial and error I had it working.

Children