<?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/"><channel><title>KB-1938 SAML authentication fails with HTTP 401 code due to invalid signature</title><link>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1938 SAML authentication fails with HTTP 401 code due to invalid signature</title><link>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature</link><pubDate>Thu, 16 May 2019 08:15:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b4898a2-c5ec-4d36-bae3-ef531a9edc0e</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 5/16/2019 8:15:24 AM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to login and the following error is printed in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt; file located in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt; directory:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;ERROR com.appiancorp.security.auth.AppianAuthenticationProvider - Error &lt;span class="code-keyword"&gt;while&lt;/span&gt; trying to authenticate the token: com.appiancorp.security.auth.saml.SamlAuthToken@6e1dda2b: Principal: &lt;span class="code-keyword"&gt;null&lt;/span&gt;; Credentials: [PROTECTED]; Authenticated: &lt;span class="code-keyword"&gt;false&lt;/span&gt;; Details: AuthenticationDetails[ts=&amp;lt;time_stamp&amp;gt;, entryPoint=PORTAL, clientIpAddress=&amp;lt;IP_Address&amp;gt;, clientUserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36]; Not granted any authorities
org.opensaml.messaging.handler.MessageHandlerException: Signature was either invalid or signing key could not be established as trusted&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;The following error is displayed on the UI when trying to login:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/4186.unauthorized.png" /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This issue occurs when the IdP Metadata provided to Appian is invalid.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;Involve the IdP team to check if the IdP certificate is valid.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Check if the right certificate is used in IdP Metadata.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;If the above doesn&amp;#39;t resolve the issue, follow&amp;nbsp;&lt;a href="/support/w/kb/778/kb-1461-how-to-update-saml-configurations-for-use-with-a-new-idp-signing-certificate" rel="noopener noreferrer" target="_blank"&gt;KB-1461&lt;/a&gt;&amp;nbsp;to generate a new IdP signing certificate.&lt;/li&gt;
&lt;li&gt;Ask the IdP to remove the current connection and reestablish it. This will refresh the partnership and allow Appian to connect to the IdP.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, SAML, integration, authentication&lt;/div&gt;
</description></item><item><title>KB-1938 SAML authentication fails with HTTP 401 code due to invalid signature</title><link>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature/revision/7</link><pubDate>Thu, 16 May 2019 08:15:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b4898a2-c5ec-4d36-bae3-ef531a9edc0e</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Parmida Borhani on 5/16/2019 8:15:24 AM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to login and the following error is printed in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt; file located in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt; directory:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;ERROR com.appiancorp.security.auth.AppianAuthenticationProvider - Error &lt;span class="code-keyword"&gt;while&lt;/span&gt; trying to authenticate the token: com.appiancorp.security.auth.saml.SamlAuthToken@6e1dda2b: Principal: &lt;span class="code-keyword"&gt;null&lt;/span&gt;; Credentials: [PROTECTED]; Authenticated: &lt;span class="code-keyword"&gt;false&lt;/span&gt;; Details: AuthenticationDetails[ts=&amp;lt;time_stamp&amp;gt;, entryPoint=PORTAL, clientIpAddress=&amp;lt;IP_Address&amp;gt;, clientUserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36]; Not granted any authorities
org.opensaml.messaging.handler.MessageHandlerException: Signature was either invalid or signing key could not be established as trusted&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;The following error is displayed on the UI when trying to login:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/4186.unauthorized.png" /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This issue occurs when the IdP Metadata provided to Appian is invalid.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;Involve the IdP team to check if the IdP certificate is valid.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Check if the right certificate is used in IdP Metadata.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;If the above doesn&amp;#39;t resolve the issue, follow&amp;nbsp;&lt;a href="/support/w/kb/778/kb-1461-how-to-update-saml-configurations-for-use-with-a-new-idp-signing-certificate" rel="noopener noreferrer" target="_blank"&gt;KB-1461&lt;/a&gt;&amp;nbsp;to generate a new IdP signing certificate.&lt;/li&gt;
&lt;li&gt;Ask the IdP to remove the current connection and reestablish it. This will refresh the partnership and allow Appian to connect to the IdP.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, SAML, integration, authentication&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX SAML authentication fails with HTTP 401 code due to invalid signature</title><link>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature/revision/6</link><pubDate>Wed, 15 May 2019 15:23:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b4898a2-c5ec-4d36-bae3-ef531a9edc0e</guid><dc:creator>Anirudh Rathi</dc:creator><comments>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Anirudh Rathi on 5/15/2019 3:23:41 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to login and the following error is pirnted in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt; file located in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt; directory:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;ERROR com.appiancorp.security.auth.AppianAuthenticationProvider - Error &lt;span class="code-keyword"&gt;while&lt;/span&gt; trying to authenticate the token: com.appiancorp.security.auth.saml.SamlAuthToken@6e1dda2b: Principal: &lt;span class="code-keyword"&gt;null&lt;/span&gt;; Credentials: [PROTECTED]; Authenticated: &lt;span class="code-keyword"&gt;false&lt;/span&gt;; Details: AuthenticationDetails[ts=&amp;lt;time_stamp&amp;gt;, entryPoint=PORTAL, clientIpAddress=&amp;lt;IP_Address&amp;gt;, clientUserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36]; Not granted any authorities
org.opensaml.messaging.handler.MessageHandlerException: Signature was either invalid or signing key could not be established as trusted&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;The following error is displayed on the UI when trying to login:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/4186.unauthorized.png" /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This issue occurs when the IdP Metadata provided to Appian is invalid.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;Involve the IdP team to check if the IdP certificate is valid.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Check if the right certificate is used in IdP Metadata.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;If the above doesn&amp;#39;t resolve the issue, follow&amp;nbsp;&lt;a href="/support/w/kb/778/kb-1461-how-to-update-saml-configurations-for-use-with-a-new-idp-signing-certificate" rel="noopener noreferrer" target="_blank"&gt;KB-1461&lt;/a&gt;&amp;nbsp;to generate a new IdP signing certificate.&lt;/li&gt;
&lt;li&gt;Ask the IdP to remove the current connection and reestablish it. This will refresh the partnership and allow Appian to connect to the IdP.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, SAML, integration&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX SAML authentication fails with HTTP 401 code due to invalid signature</title><link>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature/revision/5</link><pubDate>Wed, 15 May 2019 15:22:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b4898a2-c5ec-4d36-bae3-ef531a9edc0e</guid><dc:creator>Anirudh Rathi</dc:creator><comments>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Anirudh Rathi on 5/15/2019 3:22:29 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to login and the following error is pirnted in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt; file located in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt; directory:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;ERROR com.appiancorp.security.auth.AppianAuthenticationProvider - Error &lt;span class="code-keyword"&gt;while&lt;/span&gt; trying to authenticate the token: com.appiancorp.security.auth.saml.SamlAuthToken@6e1dda2b: Principal: &lt;span class="code-keyword"&gt;null&lt;/span&gt;; Credentials: [PROTECTED]; Authenticated: &lt;span class="code-keyword"&gt;false&lt;/span&gt;; Details: AuthenticationDetails[ts=&amp;lt;time_stamp&amp;gt;, entryPoint=PORTAL, clientIpAddress=&amp;lt;IP_Address&amp;gt;, clientUserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36]; Not granted any authorities
org.opensaml.messaging.handler.MessageHandlerException: Signature was either invalid or signing key could not be established as trusted&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;The following error is displayed on the UI when trying to login:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/unauthorized.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This issue occurs when the IdP Metadata provided to Appian is invalid.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;Involve the IdP team to check if the IdP certificate is valid.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Check if the right certificate is used in IdP Metadata.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;If the above doesn&amp;#39;t resolve the issue, follow&amp;nbsp;&lt;a href="/support/w/kb/778/kb-1461-how-to-update-saml-configurations-for-use-with-a-new-idp-signing-certificate" rel="noopener noreferrer" target="_blank"&gt;KB-1461&lt;/a&gt;&amp;nbsp;to generate a new IdP signing certificate.&lt;/li&gt;
&lt;li&gt;Ask the IdP to remove the current connection and reestablish it. This will refresh the partnership and allow Appian to connect to the IdP.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, SAML, integration&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX SAML authentication fails with HTTP 401 code due to invalid signature</title><link>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature/revision/4</link><pubDate>Tue, 14 May 2019 22:08:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b4898a2-c5ec-4d36-bae3-ef531a9edc0e</guid><dc:creator>Anirudh Rathi</dc:creator><comments>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Anirudh Rathi on 5/14/2019 10:08:13 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to login due to the following error printed in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt; file located in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt; directory:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;ERROR com.appiancorp.security.auth.AppianAuthenticationProvider - Error &lt;span class="code-keyword"&gt;while&lt;/span&gt; trying to authenticate the token: com.appiancorp.security.auth.saml.SamlAuthToken@6e1dda2b: Principal: &lt;span class="code-keyword"&gt;null&lt;/span&gt;; Credentials: [PROTECTED]; Authenticated: &lt;span class="code-keyword"&gt;false&lt;/span&gt;; Details: AuthenticationDetails[ts=2019-01-30 20:45:56.574, entryPoint=PORTAL, clientIpAddress=&amp;lt;IP_Address&amp;gt;, clientUserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36]; Not granted any authorities
org.opensaml.messaging.handler.MessageHandlerException: Signature was either invalid or signing key could not be established as trusted&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;The following error is displayed on the UI when trying to login:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/unauthorized.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This issue occurs when the IdP Metadata provided to Appian is invalid.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;Involve the IdP team to check if the IdP certificate is valid.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Check if the right certificate is used in IdP Metadata.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;If the above doesn&amp;#39;t resolve the issue, follow the &lt;a href="/support/w/kb/778/kb-1461-how-to-update-saml-configurations-for-use-with-a-new-idp-signing-certificate" rel="noopener noreferrer" target="_blank"&gt;KB-1461&lt;/a&gt;&amp;nbsp;to generate a new IdP signing certificate.&lt;/li&gt;
&lt;li&gt;Ask the IdP to dissolve the current connection and reestablish it. This will refresh the partnership and allow Appian to connect to the IdP.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, integration&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX SAML authentication fails with HTTP 401 code</title><link>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature/revision/3</link><pubDate>Tue, 14 May 2019 22:07:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b4898a2-c5ec-4d36-bae3-ef531a9edc0e</guid><dc:creator>Anirudh Rathi</dc:creator><comments>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Anirudh Rathi on 5/14/2019 10:07:31 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to login due to the following error printed in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt; file located in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt; directory:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;ERROR com.appiancorp.security.auth.AppianAuthenticationProvider - Error &lt;span class="code-keyword"&gt;while&lt;/span&gt; trying to authenticate the token: com.appiancorp.security.auth.saml.SamlAuthToken@6e1dda2b: Principal: &lt;span class="code-keyword"&gt;null&lt;/span&gt;; Credentials: [PROTECTED]; Authenticated: &lt;span class="code-keyword"&gt;false&lt;/span&gt;; Details: AuthenticationDetails[ts=2019-01-30 20:45:56.574, entryPoint=PORTAL, clientIpAddress=&amp;lt;IP_Address&amp;gt;, clientUserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36]; Not granted any authorities
org.opensaml.messaging.handler.MessageHandlerException: Signature was either invalid or signing key could not be established as trusted&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;The following error is displayed on the UI when trying to login:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/unauthorized.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This issue occurs when the IdP Metadata provided to Appian is invalid.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;Involve the IdP team to check if the IdP certificate is valid.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Check if the right certificate is used in IdP Metadata.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;If the above doesn&amp;#39;t resolve the issue, follow the &lt;a href="/support/w/kb/778/kb-1461-how-to-update-saml-configurations-for-use-with-a-new-idp-signing-certificate" rel="noopener noreferrer" target="_blank"&gt;KB-1461&lt;/a&gt;&amp;nbsp;to generate a new IdP signing certificate.&lt;/li&gt;
&lt;li&gt;Ask the IdP to dissolve the current connection and reestablish it. This will refresh the partnership and allow Appian to connect to the IdP.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, integration&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX SAML authentication fails with HTTP 401 code</title><link>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature/revision/2</link><pubDate>Tue, 14 May 2019 21:55:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b4898a2-c5ec-4d36-bae3-ef531a9edc0e</guid><dc:creator>Anirudh Rathi</dc:creator><comments>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Anirudh Rathi on 5/14/2019 9:55:04 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;User are unable to login due to following error printed in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt; file located in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt; directory:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;ERROR com.appiancorp.security.auth.AppianAuthenticationProvider - Error &lt;span class="code-keyword"&gt;while&lt;/span&gt; trying to authenticate the token: com.appiancorp.security.auth.saml.SamlAuthToken@6e1dda2b: Principal: &lt;span class="code-keyword"&gt;null&lt;/span&gt;; Credentials: [PROTECTED]; Authenticated: &lt;span class="code-keyword"&gt;false&lt;/span&gt;; Details: AuthenticationDetails[ts=2019-01-30 20:45:56.574, entryPoint=PORTAL, clientIpAddress=&amp;lt;IP_Address&amp;gt;, clientUserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36]; Not granted any authorities
org.opensaml.messaging.handler.MessageHandlerException: Signature was either invalid or signing key could not be established as trusted&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;The following error is displayed on the UI when trying to login:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/unauthorized.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This issue is occurred when the IdP Metadata provided to Appian is invalid.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;Involve the IdP team to check if the IdP certificate is valid.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Check if the right certificate is used in IdP Metadata.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;If the above doesn&amp;#39;t resolve the issue, follow the &lt;a href="/support/w/kb/778/kb-1461-how-to-update-saml-configurations-for-use-with-a-new-idp-signing-certificate" rel="noopener noreferrer" target="_blank"&gt;KB-1461&lt;/a&gt;&amp;nbsp;to generate a new IdP signing certificate.&lt;/li&gt;
&lt;li&gt;Ask the IdP to disolve the current connection and reestablish it. This will referesh the partnership and allow Appian to connect to the IdP.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, integration&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX SAML authentication fails with HTTP 401 code</title><link>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature/revision/1</link><pubDate>Tue, 14 May 2019 21:54:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b4898a2-c5ec-4d36-bae3-ef531a9edc0e</guid><dc:creator>Anirudh Rathi</dc:creator><comments>https://community.appian.com/support/w/kb/1443/kb-1938-saml-authentication-fails-with-http-401-code-due-to-invalid-signature#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Anirudh Rathi on 5/14/2019 9:54:17 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;User are unable to login due to following error printed in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt; file located in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt; directory:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;ERROR com.appiancorp.security.auth.AppianAuthenticationProvider - Error &lt;span class="code-keyword"&gt;while&lt;/span&gt; trying to authenticate the token: com.appiancorp.security.auth.saml.SamlAuthToken@6e1dda2b: Principal: &lt;span class="code-keyword"&gt;null&lt;/span&gt;; Credentials: [PROTECTED]; Authenticated: &lt;span class="code-keyword"&gt;false&lt;/span&gt;; Details: AuthenticationDetails[ts=2019-01-30 20:45:56.574, entryPoint=PORTAL, clientIpAddress=&amp;lt;IP_Address&amp;gt;, clientUserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36]; Not granted any authorities
org.opensaml.messaging.handler.MessageHandlerException: Signature was either invalid or signing key could not be established as trusted&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;The following error is displayed on the UI when trying to login:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/unauthorized.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This issue is occurred when the IdP Metadata provided to Appian is invalid.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;1. Involve the IdP team to check if the IdP certificate is valid.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Check if the right certificate is used in IdP Metadata.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. If the above doesn&amp;#39;t resolve the issue, follow the &lt;a href="/support/w/kb/778/kb-1461-how-to-update-saml-configurations-for-use-with-a-new-idp-signing-certificate" rel="noopener noreferrer" target="_blank"&gt;KB-1461&lt;/a&gt;&amp;nbsp;to generate a new IdP signing certificate.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4. Ask the IdP to disolve the current connection and reestablish it. This will referesh the partnership and allow Appian to connect to the IdP. &lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Last Reviewed: May 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, integration&lt;/div&gt;
</description></item></channel></rss>