
User17162877332107587154 (Customer) asked a question.
Hi,
I have Okta groups with custom attributes, and I want to add these attributes to the ID Token. However, no matter what expression I try, I cannot retrieve these attributes.
I have successfully managed to get only the group names by setting the claim with Value Type: Groups and using a regex match of .*
However, I am not interested in the group names; I need to include the custom attributes.
Thank you for your help!

Hi @User17162877332107587154 (Customer) , Thank you for reaching out to the Okta Community!
This question is more appropriate for our dedicated Okta Developer Forum.
My advice would be to reach out via devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).
That being said, I was able to track down an older devforum post on this topic:
https://devforum.okta.com/t/including-custom-group-attributes-in-a-claim/16077
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--
Ask Us Anything thru 7/14: Okta WIC leadership want to hear from you