<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
How to Pass Static/Constant Value in SAML Attribute Statement
Single Sign-On
Okta Classic Engine
Okta Identity Engine
Overview

The Attribute Statements (optional) section in a custom SAML app can be used to send a "Static" attribute Value. These statements are inserted into the SAML assertions shared with the application.

Applies To
  • Secure Assertion Markup Language (SAML)
  • AIW Custom SAML Application
  • Single Sign-On (SSO)
Solution

In the Attribute Statements (optional) section of the Create SAML Integration page, do the following:

  1. Enter a Name for the attribute. This application uses this name to reference this attribute. 
  2. Select a Name Format. It is the format that the Name attribute is provided to this application.
    • Unspecified: This can be any format defined by the Okta profile. The application must be able to interpret this format.
    • URI Reference: The name is provided as a Uniform Resource Identifier string.
    • Basic: A simple string. This is the default format.
  3. Enter a Static Value for the attribute that needs to be passed to the application. Value can be entered with or without double quotes.
  4. (Optional) Click Add Another to add a statement row, and then repeat steps 1–3 to define an attribute statement.

Attribute Statements 

Verify the following assignments:

  1. With a SAML tracer.

    SAML Trace
  2.  Confirm assignment to the application. While still on the same page as the attribute statements, scroll down and click the Preview the SAML Assertion button.


Previw the SAML assertion  

 

Note: To find the Attribute Statements (optional) section for an application configured from the OIN (Okta Integration Network) Catalog, navigate to the Sign On tab, click on the Edit button, and then on Attributes(Optional).

Settings

Related References 

Loading
How to Pass Static/Constant Value in SAML Attribute Statement