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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content