<?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>Ways to decode a JWT</title><link>https://community.appian.com/discussions/f/plug-ins/34929/ways-to-decode-a-jwt</link><description>Hi all, 
 I have seen that the decodeJWT function of JWT Tools plug-in returns the decoded token but only if the signature is valid, otherwise it returns null. This function needs jwks url to retrieve the proper public key and validate the given token</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Ways to decode a JWT</title><link>https://community.appian.com/thread/135272?ContentTypeID=1</link><pubDate>Tue, 14 May 2024 09:59:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0b9325cc-3add-4d15-b99f-edaf738c8a5c</guid><dc:creator>JJ Ca&amp;#241;as</dc:creator><description>&lt;p&gt;The client has told us that the tokens will arrive encrypted to Appian, so the first thing we have to do is decrypt them with a private key stored in scs (I don&amp;#39;t know if the &lt;a href="/b/appmarket/posts/encryption-functions"&gt;Encryption Functions&lt;/a&gt; plug-in will help us) and then validate the signature with the public key stored in jwks (we can do this with the&amp;nbsp;&lt;span&gt;decodeJWT function of&amp;nbsp;&lt;/span&gt;&lt;a href="/b/appmarket/posts/jwt-web-token-tools"&gt;JWT Tools&lt;/a&gt;&lt;span&gt;&amp;nbsp;plug-in).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ways to decode a JWT</title><link>https://community.appian.com/thread/135022?ContentTypeID=1</link><pubDate>Thu, 09 May 2024 07:29:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:42ea3b2c-8a99-4156-be82-fedee5e21950</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I think that the whole point of a JWT validation is, that you first validate the signature using the public key. If you can&amp;#39;t do that any further process is pointless.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>