Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-7679

Enable the JWT Claim Check Policy to handle claims of type array (table)

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Can't Do
    • Major
    • None
    • 2.10 GA
    • Gateway
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • 0
    • 0% 0%

    Description

      Currently the JWT Claim Check Policy does not allow to use claims of type "table" in its comparison logic. The request is to make it possible to also check claims that are of type list by allowing to iterate through their elements and determine if a certain element is contained in the claim.

      For example it should be possible to use a logic that determines whether the field `role_1` is available in the JWT when the `roles` claim looks like the following:

      "realm_access": {
        "roles": [
          "role_1",
          "role_2"
        ]
      } 

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-sillumin Samuele Illuminati (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: