<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
Pass a Group Name With a Prefix in the SAML Assertion
Administration
Okta Classic Engine
Okta Identity Engine
Overview

This article provides steps to pass a group name with a prefix in the Security Assertion Markup Language (SAML) assertion.

Applies To
  • Custom SAML app
  • Okta Expression Language
  • Attribute statement
Solution
  1. Go to the custom SAML application and select the Sign On tab.

  2. Click Edit.

  3. Add an Attribute statement with the following expression:

    getFilteredGroups({"<APP_ID>"}, "'<PREFIX>' +group.name", 40)
    

    NOTE: Replace <APP_ID> with the application ID and <PREFIX> with the desired prefix value.

Loading
Pass a Group Name With a Prefix in the SAML Assertion