<?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 - Invalid scopes while connecting through OIDC in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NIFI-Invalid-scopes-while-connecting-through-OIDC/m-p/372099#M241153</link>
    <description>&lt;P&gt;Hi.&amp;nbsp; I had the same problem upgrading from 1.19.2.&amp;nbsp; Investigation shows that if you add all "Default Client Scopes" and "Optional Client Scopes" to the Keycloak Client-ID configuration as specified in the nifi.security.user.oidc.client.id then the error will be bypassed.&amp;nbsp; It appears NIFI is retrieving a list of all available client scopes for the client id, and expects them all to be assigned.&amp;nbsp; I tested this against Keycloak 18.0.2 and 20.0.5 and the behaviour is the same.&amp;nbsp; I suggest that this is a NIFI bug as we shouldn't be forced to assign all available client scopes to the client id&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jun 2023 02:08:44 GMT</pubDate>
    <dc:creator>Bryce</dc:creator>
    <dc:date>2023-06-05T02:08:44Z</dc:date>
    <item>
      <title>NIFI - Invalid scopes while connecting through OIDC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-Invalid-scopes-while-connecting-through-OIDC/m-p/370919#M240851</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently facing an issue in NIFI with OIDC as an authentication mechanism. Below is what we are seeing when NIFI URL redirects to OIDC(keycloak) url.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OIDC works perfectly well with 1.20.0 version but when upgraded to 1.21.0 we are getting below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Unauthorized error="invalid_scope", error_description="Invalid scopes: openid address email web-origins profile user phone microprofile-jwt roles groups offline_access"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Please suggest if there is any significant change made from 1.20.0 to 1.21.0 nifi oidc configuration which might have caused the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 22:59:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-Invalid-scopes-while-connecting-through-OIDC/m-p/370919#M240851</guid>
      <dc:creator>ravi_tadepally</dc:creator>
      <dc:date>2023-05-16T22:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI - Invalid scopes while connecting through OIDC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-Invalid-scopes-while-connecting-through-OIDC/m-p/372099#M241153</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; I had the same problem upgrading from 1.19.2.&amp;nbsp; Investigation shows that if you add all "Default Client Scopes" and "Optional Client Scopes" to the Keycloak Client-ID configuration as specified in the nifi.security.user.oidc.client.id then the error will be bypassed.&amp;nbsp; It appears NIFI is retrieving a list of all available client scopes for the client id, and expects them all to be assigned.&amp;nbsp; I tested this against Keycloak 18.0.2 and 20.0.5 and the behaviour is the same.&amp;nbsp; I suggest that this is a NIFI bug as we shouldn't be forced to assign all available client scopes to the client id&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 02:08:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-Invalid-scopes-while-connecting-through-OIDC/m-p/372099#M241153</guid>
      <dc:creator>Bryce</dc:creator>
      <dc:date>2023-06-05T02:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI - Invalid scopes while connecting through OIDC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-Invalid-scopes-while-connecting-through-OIDC/m-p/372109#M241155</link>
      <description>&lt;P&gt;Fixed in&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/NIFI-11438" target="_blank"&gt;[NIFI-11438] OIDC requests all available scopes - ASF JIRA (apache.org)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 07:25:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-Invalid-scopes-while-connecting-through-OIDC/m-p/372109#M241155</guid>
      <dc:creator>Bryce</dc:creator>
      <dc:date>2023-06-05T07:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI - Invalid scopes while connecting through OIDC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-Invalid-scopes-while-connecting-through-OIDC/m-p/372283#M241204</link>
      <description>&lt;P&gt;Thank you Bryce. Appreciate your help in looking into this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 23:08:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-Invalid-scopes-while-connecting-through-OIDC/m-p/372283#M241204</guid>
      <dc:creator>ravi_tadepally</dc:creator>
      <dc:date>2023-06-07T23:08:07Z</dc:date>
    </item>
  </channel>
</rss>

