Skip to main content
October 18, 2024
Question

Generate jwt token using external system key

  • October 18, 2024
  • 3 replies
  • 0 views

1. Current setup

we are generating the JWT token using and external system key and the details we are stored in the Third-party credentials in Appian admin console, and we are using the JWT token to generate the token, and this approach works well.

2. Problem

The external system key expires every six months. This requires manual updates to the key in the third-party credentials in the admin console.

We have access to a Realtime API to retrieve the external system key dynamically. Is there a way to generate the JWT token without manually updating the third-party credentials every six months

I need to build like this, I have a process first I will trigger the API to get the external system key and I will pass the key and i have to get the JWT token.

3 replies

somasundaram.d
October 18, 2024

You can try using the deployment API to achieve this. You will be able to upload Admin Console settings, Customisation files etc.,

docs.appian.com/.../Deploy_Package_API.html

mathieud0001
October 19, 2024

As [mention:57fc948ec4c44d7fbda6e5509555d197:e9ed411860ed4f2ba0265705b8793d05] mentioned this should be doable via the deployment API.

October 21, 2024

Thank you [mention:57fc948ec4c44d7fbda6e5509555d197:e9ed411860ed4f2ba0265705b8793d05] [mention:f5e81b8502fa4e77ad12697686a4fc56:e9ed411860ed4f2ba0265705b8793d05] 

I gone through the deployment API documentation, could please guide me with the sample payload how can i update the third-party credentials section using API.

1) Can use the Deployment API to update third-party credentials Realtime in the workflow?