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/08/11 20:10:00 UTC
[jira] [Updated] (NIFI-10350) Registry User Actions not authorized with OpenID Connect
[ https://issues.apache.org/jira/browse/NIFI-10350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann updated NIFI-10350:
------------------------------------
Status: Patch Available (was: Open)
> Registry User Actions not authorized with OpenID Connect
> --------------------------------------------------------
>
> Key: NIFI-10350
> URL: https://issues.apache.org/jira/browse/NIFI-10350
> Project: Apache NiFi
> Issue Type: Bug
> Components: NiFi Registry
> Affects Versions: 1.17.0, 1.16.0
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> NiFi Registry users that should be authorized to add users and change policies are unable to make changes through the user interface after authenticating with OpenID Connect.
> From a new installation of NiFI Registry integrated with an OpenID Connect provider, the {{Add User}} button is disabled for the {{Initial Admin Identity}} configured in the {{file-access-policy-provider}} properties.
> Evaluating HTTP requests and responses, NiFi Registry makes an initial request to {{/nifi-registry-api/config}} and receives an HTTP 401 Unauthorized response for the unauthenticated anonymous user. After selecting {{Login}} and authenticating with the OpenID Connect provider, the {{Add User}} button remains disabled.
> The problem is that the user interface does not refresh the Registry Configuration after a successful OIDC login. The Registry Configuration indicates whether the Registry Authorizer is configurable, which controls whether the {{Add User}} button is disabled. Authentication with username and password credentials using Kerberos or LDAP works based on a subsequent request to {{/nifi-registry-api/config}} after a successful login.
> The user interface should be modified to refresh the Registry Configuration following a successful OIDC login.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)