<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
0D54z0000AH9hVaCQJOkta Classic EngineLifecycle ManagementAnswered2024-11-29T16:35:38.000Z2024-11-13T01:34:32.000Z2024-11-29T16:35:38.000Z

MatT.55012 (Customer) asked a question.

Mapping a string to array string attribute with expression language

Hi all

I have a string attribute in the Okta User Profile that I want to map to an attribute in a Directory (LDAP) but the attribute type is a string array in the LDAP.

Is there a way using expression language to map the attribute types so the expected value in LDAP is valid?

I had a look at the expression language doc but that has more to do with populating multiple values in a string array destination attribute rather than single value string only to a single value string array destination (if that makes sense).


  • MatT.55012 (Customer)

    I got this sorted using Array.flatten(attribute)

    Selected as Best
  • MatT.55012 (Customer)

    I got this sorted using Array.flatten(attribute)

    Selected as Best
This question is closed.
Loading
Mapping a string to array string attribute with expression language
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply