<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: JWT token issue while setting up three node NIFI cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/JWT-token-issue-while-setting-up-three-node-NIFI-cluster/m-p/393901#M248615</link>
    <description>&lt;P&gt;I too faced the same issue, I enabled stickyness on my Load balancer targetGroup and it worked!!&lt;BR /&gt;&lt;BR /&gt;Hompe thims hempls...&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2024 17:16:34 GMT</pubDate>
    <dc:creator>Sullaka</dc:creator>
    <dc:date>2024-09-24T17:16:34Z</dc:date>
    <item>
      <title>JWT token issue while setting up three node NIFI cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JWT-token-issue-while-setting-up-three-node-NIFI-cluster/m-p/378799#M243681</link>
      <description>&lt;P&gt;I have created a three node NIFI cluster and the embedded zookeeper is set up and all the three nodes are communicating with each other through heartbeats but when I try to access the NIFI UI I am getting the below error:&lt;BR /&gt;&lt;SPAN&gt;Unauthorized error="invalid_token", error_description="An error occurred while attempting to decode the Jwt: Signed JWT rejected: Another algorithm expected, or no matching key(s) found", error_uri="&lt;A href="https://tools.ietf.org/html/rfc6750#section-3.1" target="_blank"&gt;https://tools.ietf.org/html/rfc6750#section-3.1&lt;/A&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jwt error.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38885i2EA915C92D9ACC50/image-size/large?v=v2&amp;amp;px=999" role="button" title="jwt error.png" alt="jwt error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do I fix this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 09:12:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JWT-token-issue-while-setting-up-three-node-NIFI-cluster/m-p/378799#M243681</guid>
      <dc:creator>Fanxxx</dc:creator>
      <dc:date>2023-11-09T09:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: JWT token issue while setting up three node NIFI cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JWT-token-issue-while-setting-up-three-node-NIFI-cluster/m-p/379932#M243961</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105620"&gt;@Fanxxx&lt;/a&gt;&amp;nbsp;, issue has been fixed?&lt;/P&gt;&lt;P&gt;if yes, can you share the details to resolve&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 11:51:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JWT-token-issue-while-setting-up-three-node-NIFI-cluster/m-p/379932#M243961</guid>
      <dc:creator>dileepkumar_upp</dc:creator>
      <dc:date>2023-11-30T11:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: JWT token issue while setting up three node NIFI cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JWT-token-issue-while-setting-up-three-node-NIFI-cluster/m-p/380096#M243997</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105620"&gt;@Fanxxx&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Do you have a load balancer in front of your NiFi Cluster?&lt;BR /&gt;If so, the load balancer needs to be configured to use session persistence (also known as sticky sessions).&amp;nbsp; That is because when you access node 1 for example and authenticate your user that token is only valid for that specific node (there is a client token and a matching server side key).&amp;nbsp; If subsequent request/redirect is sent to a different node by the load balancer the node is going to be missing the matching server side key and reject the client token.&lt;BR /&gt;&lt;BR /&gt;Sharing more details about your NiFi security setup and Apache NiFi version is also valuable to those who may provide suggestion in the community.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on one or more of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 18:45:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JWT-token-issue-while-setting-up-three-node-NIFI-cluster/m-p/380096#M243997</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-12-01T18:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: JWT token issue while setting up three node NIFI cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JWT-token-issue-while-setting-up-three-node-NIFI-cluster/m-p/393901#M248615</link>
      <description>&lt;P&gt;I too faced the same issue, I enabled stickyness on my Load balancer targetGroup and it worked!!&lt;BR /&gt;&lt;BR /&gt;Hompe thims hempls...&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 17:16:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JWT-token-issue-while-setting-up-three-node-NIFI-cluster/m-p/393901#M248615</guid>
      <dc:creator>Sullaka</dc:creator>
      <dc:date>2024-09-24T17:16:34Z</dc:date>
    </item>
  </channel>
</rss>

