<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
0D54z0000AFp9iqCQBOkta Classic EngineSingle Sign-OnAnswered2025-10-10T12:37:04.000Z2024-09-05T15:28:52.000Z2024-09-30T15:28:32.000Z

JC.45181 (Customer) asked a question.

Group Mapping from Okta to Application Groups

Hi Team,

 

We are facing an issue when passing groups through SAML assertions. Using the Group Filter Attribute in the Application configuration, we do not see an option to map group names from Okta to the application.

 

For example, the application has group names like Auditors, SysAdmin, Administrators, etc. However, in Okta, because we manage multiple applications and many associated groups, we need to name these groups with more context, such as AppName-SysAdmin, AppName-Auditors, etc.

 

The challenge is that in the regex filter, we can't find a way to match every group assigned to users that begins with "AppName" and then only return the portion of the group name after the hyphen, as that is the real group name used by the application.

 

 

 


  • Paul S. (Okta, Inc.)

    Hello @JC.45181 (Customer)​ Thank you for posting on our Community page!

     

    If you have all the groups that will be used by a specific app named with the app name, in this case you can use the option "Starts with" then in the SAML assertion all the groups that are assigned to the user that start with "AppNameX" will be sent in the SAML assertion and you do not need to use the Regex function.

     

    Thank you for reaching out to our Community and have a great day!

    --

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

    Expand Post
    Selected as Best
  • Paul S. (Okta, Inc.)

    Hello @JC.45181 (Customer)​ Thank you for posting on our Community page!

     

    If you have all the groups that will be used by a specific app named with the app name, in this case you can use the option "Starts with" then in the SAML assertion all the groups that are assigned to the user that start with "AppNameX" will be sent in the SAML assertion and you do not need to use the Regex function.

     

    Thank you for reaching out to our Community and have a great day!

    --

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

    Expand Post
    Selected as Best
This question is closed.
Loading
Group Mapping from Okta to Application Groups