
jvy1v (jvy1v) asked a question.
In Okta SAML authentication I am trying to get group by updating the below setting
In Claims, I am getting groups but all groups combined in a single string(Not separated)
In the Above screenshot Everyone, Admin and System_ALL are 3 different groups but it returns in a single string.
Can I get groups by some separator?

Hello @jvy1v (jvy1v) ,
Thanks for posting.
I believe the articles below might provide the required information, please see below
How to pass a group name with a prefix in the SAML assertion?
https://support.okta.com/help/s/article/How-to-pass-a-group-name-with-a-prefix-in-the-SAML-assertion?language=en_US
How to define and configure a custom SAML attribute statement
https://support.okta.com/help/s/article/How-to-define-and-configure-a-custom-SAML-attribute-statement?language=en_US
https://stackoverflow.com/questions/35893311/getting-list-of-groups-user-is-associated-with-in-okta
Our expression language may offer more information on statements and custom mappings if there is a more complex attribute implementation:
https://developer.okta.com/docs/reference/api/groups/#group-attributes
Let us know if this helps you.
Daniela Chavarria.
Okta Inc.
Hi @User1630709688426468638 (Okta) ,
I am able to get groups using the below statement