<?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 Configuring NiFi for OIDC in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Configuring-NiFi-for-OIDC/m-p/398409#M250182</link>
    <description>&lt;P&gt;I'm trying to configure NiFi for OIDC but when I start the nifi process it dies with the error below.&amp;nbsp; A curl shows that at least basic connectivity is working to the IDP.&amp;nbsp;&amp;nbsp; Any ideas what could be causing this?&amp;nbsp; I can provide my nifi.properties and/or authorizers.xml if needed.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;2024-11-20 00:22:09,786 ERROR [main] o.s.web.context.ContextLoader Context initialization failed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;expressed through method 'setFilterChains' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityFilterChain' defined in org.a&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;pache.nifi.web.security.configuration.WebSecurityConfiguration: Unsatisfied dependency expressed through method 'securityFilterChain' parameter 7; nested exception is org.springframework.beans.factory.BeanCreati&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;onException: Error creating bean with name 'oAuth2LoginAuthenticationFilter' defined in org.apache.nifi.web.security.configuration.OidcSecurityConfiguration: Bean instantiation via factory method failed; nested&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter]: Factory method 'oAuth2LoginAuthenticatio&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;nFilter' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in org.apache.nifi.web.security.configu&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ration.OidcSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2.client.registration.ClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is org.apache.nifi.web.security.oidc.OidcConfigurationException: OpenID Connec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;t Metadata URL [&lt;A href="https://oidc.stage.elogin.att.com/mga/sps/oauth/oauth20/metadata/ATTOIDC/.well-known/openid-configuration" target="_blank"&gt;https://oidc.stage.elogin.att.com/mga/sps/oauth/oauth20/metadata/ATTOIDC/.well-known/openid-configuration&lt;/A&gt;] retrieval failed&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2024 16:52:35 GMT</pubDate>
    <dc:creator>AlanL</dc:creator>
    <dc:date>2024-12-04T16:52:35Z</dc:date>
    <item>
      <title>Configuring NiFi for OIDC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-NiFi-for-OIDC/m-p/398409#M250182</link>
      <description>&lt;P&gt;I'm trying to configure NiFi for OIDC but when I start the nifi process it dies with the error below.&amp;nbsp; A curl shows that at least basic connectivity is working to the IDP.&amp;nbsp;&amp;nbsp; Any ideas what could be causing this?&amp;nbsp; I can provide my nifi.properties and/or authorizers.xml if needed.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;2024-11-20 00:22:09,786 ERROR [main] o.s.web.context.ContextLoader Context initialization failed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;expressed through method 'setFilterChains' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityFilterChain' defined in org.a&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;pache.nifi.web.security.configuration.WebSecurityConfiguration: Unsatisfied dependency expressed through method 'securityFilterChain' parameter 7; nested exception is org.springframework.beans.factory.BeanCreati&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;onException: Error creating bean with name 'oAuth2LoginAuthenticationFilter' defined in org.apache.nifi.web.security.configuration.OidcSecurityConfiguration: Bean instantiation via factory method failed; nested&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter]: Factory method 'oAuth2LoginAuthenticatio&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;nFilter' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in org.apache.nifi.web.security.configu&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ration.OidcSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2.client.registration.ClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is org.apache.nifi.web.security.oidc.OidcConfigurationException: OpenID Connec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;t Metadata URL [&lt;A href="https://oidc.stage.elogin.att.com/mga/sps/oauth/oauth20/metadata/ATTOIDC/.well-known/openid-configuration" target="_blank"&gt;https://oidc.stage.elogin.att.com/mga/sps/oauth/oauth20/metadata/ATTOIDC/.well-known/openid-configuration&lt;/A&gt;] retrieval failed&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 16:52:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-NiFi-for-OIDC/m-p/398409#M250182</guid>
      <dc:creator>AlanL</dc:creator>
      <dc:date>2024-12-04T16:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring NiFi for OIDC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-NiFi-for-OIDC/m-p/398411#M250183</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/122289"&gt;@AlanL&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 17:43:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-NiFi-for-OIDC/m-p/398411#M250183</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-12-04T17:43:30Z</dc:date>
    </item>
  </channel>
</rss>

