<?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: Default authenticaion in Nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Default-authenticaion-in-Nifi/m-p/378652#M243617</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102531"&gt;@zIfo&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The default Single-User-Authorizer (Authorization) and Single-user-provider (authentication) are not intended for production use.&amp;nbsp; These were added as of&amp;nbsp; Apache NiFi 1.14 to facilitate a secure out-of-the-box NiFi startup for evaluation and testing.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;They provide very basic authentication and authorization. Single user with complete and full access to everything.&amp;nbsp; So by using this default provider you have no ability to support multiple users with very granular levels of authorization.&amp;nbsp; The Token on the NiFi server side should expire after 8 hours.&amp;nbsp; The JWT token stored in the browser may be around longer.&lt;BR /&gt;&lt;BR /&gt;You did not share the version of Apache NiFi you have installed, but perhaps the following explains what you are experiencing :&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-9049" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-9049&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But to support NiFi Clusters and NiFi multi-tenant authentication and authorization, you should move to a production ready authentication provider (LDAP commonly used) and authorizer (Managed authorizer commonly used).&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>Mon, 06 Nov 2023 14:09:39 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2023-11-06T14:09:39Z</dc:date>
    <item>
      <title>Default authenticaion in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Default-authenticaion-in-Nifi/m-p/378604#M243606</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; We are trying to authenticate Nifi with single-user-authorizer using the auto-generated username and password itself. We thought of changing the token expiration time. But, we couldn't find any configuration for token expiration for this default authentication. There is an api which gives the expiation time of the token but the token is still active even after the expiration time we got from the api.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there any configuration to change the duration of active token?&amp;nbsp; Or Is there a way to get the actual token expiration time?&lt;BR /&gt;&lt;BR /&gt;Where can I find the document for&amp;nbsp;working of token expiration for nifi default authentication?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 05:54:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Default-authenticaion-in-Nifi/m-p/378604#M243606</guid>
      <dc:creator>zIfo</dc:creator>
      <dc:date>2023-11-06T05:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Default authenticaion in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Default-authenticaion-in-Nifi/m-p/378652#M243617</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102531"&gt;@zIfo&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The default Single-User-Authorizer (Authorization) and Single-user-provider (authentication) are not intended for production use.&amp;nbsp; These were added as of&amp;nbsp; Apache NiFi 1.14 to facilitate a secure out-of-the-box NiFi startup for evaluation and testing.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;They provide very basic authentication and authorization. Single user with complete and full access to everything.&amp;nbsp; So by using this default provider you have no ability to support multiple users with very granular levels of authorization.&amp;nbsp; The Token on the NiFi server side should expire after 8 hours.&amp;nbsp; The JWT token stored in the browser may be around longer.&lt;BR /&gt;&lt;BR /&gt;You did not share the version of Apache NiFi you have installed, but perhaps the following explains what you are experiencing :&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-9049" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-9049&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But to support NiFi Clusters and NiFi multi-tenant authentication and authorization, you should move to a production ready authentication provider (LDAP commonly used) and authorizer (Managed authorizer commonly used).&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>Mon, 06 Nov 2023 14:09:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Default-authenticaion-in-Nifi/m-p/378652#M243617</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-11-06T14:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Default authenticaion in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Default-authenticaion-in-Nifi/m-p/378654#M243619</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;Thanks for the response. We are using Nifi 1.21.0 version and we are using it internally in our application. Hence, we are currently planning to have&amp;nbsp;&lt;SPAN&gt;Single-User-Authorizer as of now. In future, we will go for&amp;nbsp;authentication provider.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there any way to change that 8hours expiration time? And what is the time of expiration I get from the api - /access/token/expiration?. The token is not getting expired with the time we get from that api.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 14:28:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Default-authenticaion-in-Nifi/m-p/378654#M243619</guid>
      <dc:creator>zIfo</dc:creator>
      <dc:date>2023-11-06T14:28:08Z</dc:date>
    </item>
  </channel>
</rss>

