Pedro Naresi created NIFI-9540:
----------------------------------

             Summary: Failed to start web server on 1.15.x when using OIDC
                 Key: NIFI-9540
                 URL: https://issues.apache.org/jira/browse/NIFI-9540
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Pedro Naresi


When trying to setup OIDC auth with Azure AD on the 1.15.x versions I keep 
getting:

 
_2022-01-05 22:23:38,242 *ERROR* [NiFi logging handler] org.apache.nifi.StdErr 
Failed to start web server: Error creating bean with name 'oidcService' defined 
in 
org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration:
 Bean instantiation via factory method failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' 
threw exception; nested exception is java.lang.RuntimeException: OpenId Connect 
support cannot be enabled if the Login Identity Provider or Apache Knox SSO is 
configured._
 
My _nifi.properties_ setup is:



nifi.security.user.authorizer=managed-authorizer
nifi.security.user.login.identity.provider=
nifi.login.identity.provider.configuration.file=./conf/login-identity-providers.xml
 
I have already tried every single combination of authorizer and identity and 
still had no success.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to