Skip to main content
New Participant
Oct 18, 2024 7:33 AM UTC
Question

Generate jwt token using external system key

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
Employee
Oct 18, 2024 7:56 AM UTC

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
Genius
Oct 19, 2024 10:12 AM UTC

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

New Participant
Oct 21, 2024 4:17 AM UTC

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?