I created a scope called userAttributes
I created a custom claim called user_attributes
- Type = Id tken based and always
- value type = expression
- express = Arrays.add({user.jobTitle, user.displayName, user.email, user.login})
- include in scope userAttributes
when I do a preview of an id token on my client with openid and userAttributes indicated as scope. The claim doesn’t appear in the claims list
if I take the example Arrays.add({10, 20, 30}, 40) from the following page
The claim doesn’t appear in the claims list.
if I do just one attribute user.jobTitle it will show the claim user_attributes with a value of Developer.
I do not wish to create an individual claim for every single attribute I want out. How can I can a list of user attributes out as an array for one claim?
Thanks,
Angela