<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Generate JWT Token By External System Key</title><link>https://community.appian.com/discussions/f/new-to-appian/33895/generate-jwt-token-by-external-system-key</link><description>Hi, 
 
 I need to create JWT token, for this installed JWT Tools Plugin, 
 
 createtoken() function is pasking for externalSystemKey as param, 
 
 I don&amp;#39;t know how and where to configure it, and if it dependent on other 3rd party integration, what to</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/149065?ContentTypeID=1</link><pubDate>Wed, 18 Jun 2025 13:08:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5d947e43-6f54-4d1d-b4e5-33e57902b8ee</guid><dc:creator>shreekrit518231</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please check the code written for setAlg function which is mentioned at last line in screenshot,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Guess is - this might be overwriting default one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/149057?ContentTypeID=1</link><pubDate>Wed, 18 Jun 2025 11:18:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:742ed1ec-ac9d-4dad-94a3-a75fb58913f6</guid><dc:creator>Harsh Kumar Agarwal</dc:creator><description>&lt;p&gt;Did anyone get any success with this?&lt;br /&gt;I am using &amp;#39;createtoken&amp;#39; function and passing algorithm &amp;#39;PS256&amp;#39; but when I decode the generated token it shows algorithm &amp;#39;&lt;span class="__className_bbed0d token string"&gt;RS512&lt;/span&gt;&amp;#39;.&lt;br /&gt;&lt;br /&gt;I have checked the source code for plugin and looks like algorithm is hardcoded to &amp;#39;RS512&amp;#39; only. Anyone faces similar issue or help me how to change algorithm to&amp;nbsp;&lt;span&gt;&amp;#39;PS256&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/62/pastedimage1750245475836v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/148623?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2025 03:08:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:60212f4c-1a22-466a-ac7c-29babf3315f0</guid><dc:creator>shivakanthreddyp0001</dc:creator><description>&lt;p&gt;Thank you &lt;a href="/members/vijayg1506"&gt;Vijay Gurav&lt;/a&gt;&amp;nbsp;, I am able to generate, but I have used&amp;nbsp;createsignedjwt function from &amp;quot;Create JWT&amp;quot; plugin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/148580?ContentTypeID=1</link><pubDate>Tue, 03 Jun 2025 08:29:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7b17b30f-b2ad-4b2b-9c37-a4b73fe912ca</guid><dc:creator>Vijay Gurav</dc:creator><description>&lt;p&gt;If you are saying External System means where the Appian is trying to connect then Yes, You need to configure the public key at external system.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/148556?ContentTypeID=1</link><pubDate>Tue, 03 Jun 2025 01:02:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ec0dfade-dca4-46be-9fc0-6f2584bd997c</guid><dc:creator>shivakanthreddyp0001</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/vijayg1506"&gt;Vijay Gurav&lt;/a&gt;&amp;nbsp;&lt;br /&gt;Is the public key to be configured in external system?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/131354?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2024 07:09:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d766b782-0271-4e5c-9f3a-fb60ba20497d</guid><dc:creator>Vijay Gurav</dc:creator><description>&lt;p&gt;you were right. &amp;nbsp; The key format must be in RSA.&lt;/p&gt;
&lt;p&gt;We found that the Private Key was in the following format: &amp;quot;-----BEGIN ENCRYPTED PRIVATE KEY-----&amp;quot;&lt;br /&gt;However, the tool was expecting RSA: &amp;quot;-----BEGIN RSA PRIVATE KEY-----&amp;quot;&lt;/p&gt;
&lt;p&gt;We used the following command to convert to the proper format:&lt;br /&gt;openssl rsa -in privatekey.pem -out privatekey_out.pem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/131346?ContentTypeID=1</link><pubDate>Sat, 16 Mar 2024 22:27:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:916c38e9-8390-4ba8-92f7-c27620857760</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;To test the connection:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.1/Appian_Administration_Console.html#third-party-credentials"&gt;docs.appian.com/.../Appian_Administration_Console.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/62/pastedimage1710628051988v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/131330?ContentTypeID=1</link><pubDate>Sat, 16 Mar 2024 10:05:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a802fab-072f-40d2-aa09-717aae6c66be</guid><dc:creator>rishabh982812</dc:creator><description>&lt;p&gt;Hi &amp;nbsp;,&lt;br /&gt;I also have one use case related to JWT but i am not able to setup Third Party Credentials as i am getting confused in generation of&amp;nbsp;&lt;strong&gt;appianprivatekey&lt;/strong&gt; and&amp;nbsp;&lt;strong&gt;appianprivatekeypassword.&amp;nbsp;&lt;/strong&gt;Can you please help me in this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/130877?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2024 05:23:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:45ba8062-2953-4347-bb69-a4cb2500b6e7</guid><dc:creator>Vijay Gurav</dc:creator><description>&lt;p&gt;The key format is correct. I&amp;#39;m able to generate the token manually in jwt.io&lt;/p&gt;
&lt;p&gt;Could you pleas tell me what is the Test Connection section. Please share me any sample expression.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/130875?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2024 05:17:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:06fac781-c43c-4375-8075-e7141016a92b</guid><dc:creator>shreekrit518231</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Seems your configuration is correct, I seen it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;try it out and&amp;nbsp;check&amp;nbsp;if format of public key and private key is correct&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/130872?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2024 04:50:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4e69ebc-523e-49d8-a37e-34d600ef7116</guid><dc:creator>shreekrit518231</dc:creator><description>&lt;p&gt;Hi Vijay,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I think you may have missed configuring third party credentials in&amp;nbsp;admin console&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;- prepare public key and private key&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Goto admin console,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- configure third party credentials&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- create two field appianPrivateKey and public key,&lt;/p&gt;
&lt;p&gt;- Note: public and private key name should be exactly the same as you are getting error&lt;/p&gt;
&lt;p&gt;- after this you need to pass same external system key in token functions&lt;/p&gt;
&lt;p&gt;Hope this should work,&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/130869?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2024 04:37:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ef9f15e-1f60-4ad6-a52d-7971d35ede01</guid><dc:creator>Vijay Gurav</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;nbsp;, Thanks for quick response. I&amp;#39;ve set up the below things, yet receiving same response.&lt;/p&gt;
&lt;p&gt;How to test the connection in third party Credentials.?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/62/Capture12.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;createtokenwithcustomclaims(
  externalSystemKey:&amp;quot;JWTTokenKey&amp;quot;, 
  sub:&amp;quot;bdn-3jOZsAi38MUo5PWhwyHP57tLWZnHspHPztA1HtKD&amp;quot;, 
  iss:&amp;quot;bdn-3jOZsAi38MUo5PWhwyHP57tLWZnHspHPztA1HtKD&amp;quot;, 
  alg:&amp;quot;PS256&amp;quot;, 
  typ:&amp;quot;JWT&amp;quot;,
  aud:&amp;quot;https://token.tiaa.XXX.com/as/token.oauth2&amp;quot;, 
  jti:&amp;quot;jti111111111111673416931964&amp;quot;, 
  exp:1709635533, 
  kid:&amp;quot;8879137017532837800857709831293634212&amp;quot;, 
  x5t:null, 
  ver:null, 
  claims:null
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/62/4503.Capture1.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/130854?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 15:43:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:930c4e2d-df51-4746-a21b-2f44ee2bd546</guid><dc:creator>shreekrit518231</dc:creator><description>&lt;p&gt;Hi Vijay&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Check The Screen shots attached and follow the below steps&amp;nbsp;-&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/62/pastedimage1709825947439v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. Generate Public Key and Private Key , its okay to generate it from online tool too for testing, but later need to change it&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. Go to third party credentials in admin console&lt;/p&gt;
&lt;p&gt;3. Create one credentials, its name is your external system key&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4. register field names as you are geeting error for the same key name and add public key generated as value as&amp;nbsp;shown in screenshots for 2 and 3 point&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;5. allow your plugin to use 3rd party credentials&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thats all you need to do, if its configured correctly as steted above, you will be able to generate jwt token&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/130824?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 11:15:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f234d1d7-18da-4a90-9f5e-4a62fdd55e6c</guid><dc:creator>Vijay Gurav</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;createtokenwithcustomclaims(
  externalSystemKey:&amp;quot;JWTKey&amp;quot;, 
  sub:&amp;quot;bdn-3jOZsAi38MUo5PWhwyHP57tLWZnHspHPztA1HtKD&amp;quot;, 
  iss:&amp;quot;bdn-3jOZsAi38MUo5PWhwyHP57tLWZnHspHPztA1HtKD&amp;quot;, 
  alg:&amp;quot;PS256&amp;quot;, 
  typ:&amp;quot;JWT&amp;quot;,
  aud:&amp;quot;XXX&amp;quot;, 
  jti:&amp;quot;jti111111111111673416931964&amp;quot;, 
  exp:1709635533, 
  kid:&amp;quot;8879137017532837800857709831293634212&amp;quot;, 
  x5t:null, 
  ver:null, 
  claims:null
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Yes. I&amp;#39;ve configured the third party credentials with private key and used it in expression. However I received the same output &lt;span style="color:#00ccff;"&gt;&lt;span style="color:#ff0000;"&gt;&amp;quot;&lt;span class="CollapsibleOutputNode---print_value"&gt;appianprivatekeypassword or appianprivatekey for Credential Store was null&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/130821?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 11:01:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:46f2398a-49b0-4988-9ec4-1bf8c9cafea9</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Do you have a problem related with this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/130774?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 06:15:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:25bd0851-19c9-48f9-9deb-df566b60e01b</guid><dc:creator>Vijay Gurav</dc:creator><description>&lt;p&gt;&amp;nbsp;are you able to resolve this ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/128552?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 11:57:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:36895aaa-6aa4-47aa-add5-4ac4f163caa6</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Typically, plugins contain some form of documentation when downloading.&lt;/p&gt;
&lt;p&gt;&lt;a href="/b/appmarket/posts/jwt-web-token-tools"&gt;https://community.appian.com/b/appmarket/posts/jwt-web-token-tools#&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope that gets you started.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/128547?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 11:02:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a08ea804-ef6a-422f-abc5-1cb3de6e5c2e</guid><dc:creator>shreekrit518231</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your quick response.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;there is no proper tutorial mentioned there, like what are the things are required to do on external system and there is button on Test connection to test the details with the external system.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;getiing error like this -&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;appianprivatekeypassword or appianprivatekey for Credential Store was null&amp;quot;&lt;/span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;(Text)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Shree krishna tiwari&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate JWT Token By External System Key</title><link>https://community.appian.com/thread/128546?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 10:26:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cd5e7b84-a63c-42fe-ad90-c5eb2cb2836d</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Check this documentation:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/23.4/Secure_Credentials_Store.html"&gt;https://docs.appian.com/suite/help/23.4/Secure_Credentials_Store.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>