Changing JWT token scope parameter to use array

Solution Unverified - Updated -

Issue

  • Is it possible to change the scope attribute in the JWT from a space-delimited list to a array? For example, currently the following the scope attribute looks like:

        "scope": "custom1 custom2"
    

    but we would like it to be:

        "scope": [ "custom1", "custom2"]
    

Environment

Red Hat Single Sign-On 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In