Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-12418

Identity Provider Groups Missing in Refreshed Bearer Token

    XMLWordPrintableJSON

Details

    Description

      The OIDC Bearer Token Refresh Filter is responsible for renewing application Bearer Tokens when NiFi is integrated with an OpenID Connect Identity Provider that supports the Refresh Token Grant Type.

      NiFi 1.23.0 introduced changes for handling group membership information supplied from an Identity Provider, passing the groups in the application Bearer Token instead of persisting the groups in the local database repository.

      As a result of these handling changes, the Identity Provider group membership information is not retained when the OIDC Bearer Token Refresh Filter generates a new token. In deployments where the configured User Group Provider does not provide the group information, this behavior can result in authorization failures after refreshing the token.

      The Bearer Token Refresh Filter should be corrected to retrieve group membership information from the new Identity Provider token.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h