<?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: How to Nifi RestApi with Azure AD authentication in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-Nifi-RestApi-with-Azure-AD-authentication/m-p/403915#M252230</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/124246"&gt;@AlokVenugopal&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The "&lt;SPAN&gt;/nifi-api/access/token" endpoint is used by the ldap-provider or kerberos-provider NiFi login providers. Since you are using an OIDC (SSO) provider, you would need to obtain the token from that provider.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can utilize the developer tools available in most browsers to capture the rest-api call being made to NiFi from you browser. While I do not have a setup utilizing Azure AD, I'd expect you should be able to see the redirect to the Azure endpoint to get the token.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, 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&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;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;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 12:34:50 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2025-03-11T12:34:50Z</dc:date>
    <item>
      <title>How to Nifi RestApi with Azure AD authentication</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Nifi-RestApi-with-Azure-AD-authentication/m-p/403854#M252216</link>
      <description>&lt;DIV class="p-rich_text_section"&gt;Hello Everyone,&lt;BR /&gt;I have successfully configured NiFi with Azure AD authentication by following&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="c-link" href="https://github.com/benkelly/NiFi-Authentication-with-Azure-Active-Directory-Setup-Guide" target="_blank" rel="noopener noreferrer"&gt;https://github.com/benkelly/NiFi-Authentication-with-Azure-Active-Directory-Setup-Guide&lt;/A&gt;. NiFi is working as expected.&lt;BR /&gt;However, I am facing an issue when trying to use the REST API. When I attempt to obtain a token using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/nifi-api/access/token&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;endpoint with an AD user’s credentials, I receive the following error:&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;I&gt;"Username/Password login not supported by this NiFi."&lt;/I&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV class="p-rich_text_section"&gt;I need guidance on how to properly authenticate and use the REST API with my current Azure AD setup.&lt;BR /&gt;Additionally, if creating a separate file-based user is required for REST API access, what changes should I make to the current configuration to support both AD authentication and a file-based user for API access?&lt;BR /&gt;I am new to NiFi, so I would appreciate detailed guidance on resolving this issue.&lt;BR /&gt;Thanks in advance!&lt;/DIV&gt;</description>
      <pubDate>Mon, 10 Mar 2025 08:28:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Nifi-RestApi-with-Azure-AD-authentication/m-p/403854#M252216</guid>
      <dc:creator>AlokVenugopal</dc:creator>
      <dc:date>2025-03-10T08:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Nifi RestApi with Azure AD authentication</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Nifi-RestApi-with-Azure-AD-authentication/m-p/403915#M252230</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/124246"&gt;@AlokVenugopal&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The "&lt;SPAN&gt;/nifi-api/access/token" endpoint is used by the ldap-provider or kerberos-provider NiFi login providers. Since you are using an OIDC (SSO) provider, you would need to obtain the token from that provider.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can utilize the developer tools available in most browsers to capture the rest-api call being made to NiFi from you browser. While I do not have a setup utilizing Azure AD, I'd expect you should be able to see the redirect to the Azure endpoint to get the token.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, 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&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;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;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 12:34:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Nifi-RestApi-with-Azure-AD-authentication/m-p/403915#M252230</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-03-11T12:34:50Z</dc:date>
    </item>
  </channel>
</rss>

