<?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: Nifi-Registry OIDC + Windows ADFS in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Registry-OIDC-Windows-ADFS/m-p/408548#M252736</link>
    <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454" target="_blank"&gt;@MattWho&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;Thanks a lot for detailed answers!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 May 2025 22:05:31 GMT</pubDate>
    <dc:creator>blackboks</dc:creator>
    <dc:date>2025-05-20T22:05:31Z</dc:date>
    <item>
      <title>Nifi-Registry OIDC + Windows ADFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Registry-OIDC-Windows-ADFS/m-p/408445#M252708</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I'm trying to set up Nifi-Registry OIDC authentication with Windows ADFS as oidc provider, but have no luck. Using self-signed sertificates for SSL connection i'm able to LOGIN in web interface with initial admin and create some groups with different priveleges, for examle &lt;STRONG&gt;nifi-reg-admins&lt;/STRONG&gt; with full rights. In Active Directory this group is also present and the user &lt;A href="mailto:nifi-admin-2@blackboks.ru" target="_blank" rel="noopener"&gt;nifi-admin-2@blackboks.ru&lt;/A&gt;&amp;nbsp;is member of this group. In ADFS Management a have setup template Server application accessing a web API with issuance transform rule as "&lt;STRONG&gt;Send Groupmembership as a Claim&lt;/STRONG&gt;".&amp;nbsp; Respectively i choose&amp;nbsp;nifi-reg-admins group as User group, &lt;STRONG&gt;Outgoing claim type - Group&lt;/STRONG&gt; and&amp;nbsp; &lt;STRONG&gt;Outgoing claim value -&lt;/STRONG&gt; &lt;STRONG&gt;nifi-reg-admins&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can login with&amp;nbsp;&amp;nbsp;&lt;A href="mailto:nifi-admin-2@blackboks.ru" target="_blank" rel="noopener"&gt;nifi-admin-2@blackboks.ru&lt;/A&gt;&amp;nbsp;into web interface, but there is no admin priveleges at all and in logs i see this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;INFO [NiFi Registry Web Server-39] o.a.n.r.w.m.AccessDeniedExceptionMapper identity[nifi-admin-2@blackboks.ru], groups[] does not have permission to access the requested resource. Unable to view users/user groups. Returning Forbidden response.&lt;/LI-CODE&gt;&lt;P&gt;It's like i don't have any groups but i do..&lt;/P&gt;&lt;P&gt;Here is OIDC sections in property file:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.registry.security.user.oidc.discovery.url=https://adfs.blackboks.ru/adfs/.well-known/openid-configuration
nifi.registry.security.user.oidc.connect.timeout=5 secs
nifi.registry.security.user.oidc.read.timeout=5 secs
nifi.registry.security.user.oidc.client.id=id
nifi.registry.security.user.oidc.client.secret=secret
nifi.registry.security.user.oidc.preferred.jwsalgorithm=RS256
nifi.registry.security.user.oidc.claim.groups=group
nifi.registry.security.user.oidc.claim.identifying.user=upn
nifi.registry.security.user.oidc.additional.scopes=openid,cn,email,group,role,roles,profile,offline_access&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Please help me to accomplish this&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 15:05:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Registry-OIDC-Windows-ADFS/m-p/408445#M252708</guid>
      <dc:creator>blackboks</dc:creator>
      <dc:date>2025-05-16T15:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi-Registry OIDC + Windows ADFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Registry-OIDC-Windows-ADFS/m-p/408452#M252712</link>
      <description>&lt;P data-unlink="true"&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/126568"&gt;@blackboks&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Authentication and Authorization happen in two steps in NiFi and NIFi-Registry.&lt;BR /&gt;Group association with Users is part of the Authorization step handled by the configuration in the authorizers.xml file.&lt;BR /&gt;&lt;BR /&gt;Authentication is step one which you have working. At the end of authentication all that is available and passed to for authorization is the User Identity.&amp;nbsp; In yoru case "&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;nifi-admin-2@blackboks.ru&amp;nbsp;" is what is being passed to the configured authorizer.&amp;nbsp; &amp;nbsp; You are most likely using the managed-authorizer which utilizes the file-access-policy-provider which in turn has a dependency on one or more configurable user-group-providers (file-user-group-provider, ldap-user-group-provider, composite-user-group-provider, composite-configurable-user-group-provider).&amp;nbsp; It is these user group provider that are responsible for establishing what groups the user identity belongs to.&lt;BR /&gt;&lt;BR /&gt;What we can tell from the log output you shared is that your authorizer is unaware of any gorups that the user identity "&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;nifi-admin-2@blackboks.ru&amp;nbsp;" belongs to.&amp;nbsp; &amp;nbsp;If the authorizer was aware of any groups associated to this user identity, those groups would have been in that log output instead of blank:&lt;/P&gt;&lt;PRE&gt;identity[nifi-admin-2@blackboks.ru], groups[]&lt;/PRE&gt;&lt;P&gt;So you'll need to verify the setup in your &lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#authorizer-configuration" target="_blank" rel="noopener"&gt;authorizers.xml&lt;/A&gt; and determine which user-group-provider you will use to establish these known user to group identity mappings.&lt;BR /&gt;&lt;BR /&gt;The &lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#fileusergroupprovider" target="_blank" rel="noopener"&gt;file-user-group-provider&lt;/A&gt; would require you to do this manually from within the NiFi UI.&lt;/P&gt;&lt;P&gt;Hopefully this helps clarify the why you are seeing what you are seeing.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 20:04:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Registry-OIDC-Windows-ADFS/m-p/408452#M252712</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-05-16T20:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi-Registry OIDC + Windows ADFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Registry-OIDC-Windows-ADFS/m-p/408484#M252726</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you for the answer&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Did I understand correctly that I need to add users to a group directly in the nifi-registry web interface if i use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#fileusergroupprovider" target="_blank" rel="noopener noreferrer"&gt;file-user-group-provider&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and there is no other way to do it non manual way?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 May 2025 16:10:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Registry-OIDC-Windows-ADFS/m-p/408484#M252726</guid>
      <dc:creator>blackboks</dc:creator>
      <dc:date>2025-05-19T16:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi-Registry OIDC + Windows ADFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Registry-OIDC-Windows-ADFS/m-p/408490#M252728</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/126568"&gt;@blackboks&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Yes, that is correct unless you can sync user identity to group identity associations via one of the available user-group-providers available in NIFi/NiFi-Registry.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html" target="_self"&gt;NiFi System Administrator Guide&lt;/A&gt;&lt;/P&gt;&lt;UL class="sectlevel3"&gt;&lt;LI&gt;&lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#fileusergroupprovider" target="_blank"&gt;FileUserGroupProvider&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#ldapusergroupprovider" target="_blank"&gt;LdapUserGroupProvider&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#azuregraphusergroupprovider" target="_blank"&gt;AzureGraphUserGroupProvider&lt;/A&gt;&lt;/LI&gt;&lt;/UL&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 18:33:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Registry-OIDC-Windows-ADFS/m-p/408490#M252728</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-05-19T18:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi-Registry OIDC + Windows ADFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Registry-OIDC-Windows-ADFS/m-p/408548#M252736</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454" target="_blank"&gt;@MattWho&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;Thanks a lot for detailed answers!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 22:05:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Registry-OIDC-Windows-ADFS/m-p/408548#M252736</guid>
      <dc:creator>blackboks</dc:creator>
      <dc:date>2025-05-20T22:05:31Z</dc:date>
    </item>
  </channel>
</rss>

