You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/11/09 18:14:00 UTC
[jira] [Resolved] (NIFI-9540) Failed to start web server on 1.15.x when using OIDC
[ https://issues.apache.org/jira/browse/NIFI-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann resolved NIFI-9540.
------------------------------------
Resolution: Cannot Reproduce
The {{nifi.security.user.knox.url}} property also needs to be blank, or this error can occur. Feel free to follow up if this issue persists in current versions.
> 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
> Priority: Major
>
> 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.10#820010)