<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D5KZ00000m3Xlb0AEOkta Classic EngineIntegrationsAnswered2025-05-05T20:02:31.000Z2025-05-05T13:04:35.000Z2025-05-05T20:02:31.000Z

VigneshK.54782 (Customer) asked a question.

In SAML, using group attribute statement we need to filter group name which contains "Checkpoint" in their part of group name only the first match/first index of the array

In SAML, using group attribute statement we are filtering the group name which contains "Checkpoint" in their part of group name. Okta gives multiple group name which matches the condition "Checkpoint" in their part of group name, but our requirement is to print only the first match/ first index of the array. Please help with the solution to resolve the issue.


  • User17157611498146715886 (Customer Support Online Community and Social Care)

    Hello @VigneshK.54782 (Customer)​ , thank you for contacting Okta Community.

     

    Are you trying to look up a certain group in Directory > Groups using the search bar and receiving multiple results?

     

    Or are you trying to use group attribute statements on the app's Sign On tab > Authentication > SAML Attributes? In this scenario, the search must follow either StartsWith, Equals, Contains, or Matches regex. You can read more about it here:

    Define group attribute statements

    Okta Expression Language overview

     

    If you have a paid account, you can suggest a new feature on the Okta Community page by going to the Community→ Ideas tab. Features suggested in our community are reviewed and can be voted on and commented on by other members. High popularity will increase the likelihood of it being picked up by the Product Team and implemented.

    You can find more details here.

     

    Regards. 

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Collect them all. Learn a new skill and earn a new Okta Learning badge.

    Expand Post
This question is closed.
Loading
In SAML, using group attribute statement we need to filter group name which contains "Checkpoint" in their part of group name only the first match/first index of the array