Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6753

OAuth2 audience support is incomplete

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.5, 3.2.0
    • Component/s: JAX-RS, JAX-RS Security
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The audience support in the OAuth2 code was done awhile back based on the now expired draft, and while no standard is available, it is important to update the model now that it is getting integrated into Fediz/etc. Specifically, a single audience is only supported in the model while multiple audiences per token are possible.
      Token introspection response may include a single or multiple audiences, with a single audience being allowed to be reported as a non-array (as per JWT audience).
      Audience checks need to be updated too. The audience, if reported to the token/authorization endpoint, will have to be contained in the list of client audiences created during the registration. This can be relaxed in the future and become more dynamic

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              sergey_beryozkin Sergey Beryozkin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: