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

Fallback claim(s) support in OIDC based authentication

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.12.1
    • 1.13.0
    • Core Framework
    • None

    Description

      Currently, 'nifi.security.user.oidc.claim.identifying.user' NiFi configuration sets only one claim to bind ID token to username. There are corner-case where fallback claim should search in case the configured claim is not found in ID token.

      For example, not all user directory objects has email address in Azure Activity Directory (https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#email). We need a fallback claim support so that when there is no email address claim available for a user, the OIDC identity provider should pick up fallback claim(s) for the user name. For other users with emails, it should continue to use the configured claim to set user name.

       

      I will introduce 'nifi.security.user.oidc.fallback.claims.identifying.user' in NiFi properties and implement the fallback logic .

       

      Attachments

        Issue Links

          Activity

            People

              sjyang18 Seokwon Yang
              sjyang18 Seokwon Yang
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 3h 40m
                  3h 40m