Skip to main content
Level 2
Apr 28, 2026 8:54 AM UTC
Question

Multiple values for same key in any AEM config

Can we add multiple values for the path here. Is that possible in any AEM config. If yes how, and if not what are the other ways we can handle this.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

VeenaVikraman
Community Advisor
Community Advisor
Apr 28, 2026 9:37 AM UTC

​@ShikhaSo6  Yes you can as you see here https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/authentication/saml-2-0

 

 

 

Thanks

Veena

Translate
Adobe Employee
Apr 28, 2026 1:43 PM UTC

​@ShikhaSo6 

Yes, multiple path values can be configured for the AEM SAML Authentication Handler.

In AEM, the path property can be defined as a multi-value array in the OSGi cfg.json file rather than as a single string.

Example:

{
"path": [
"/content/site1",
"/content/site2"
]
}

If environment-specific values are needed, each path can also be defined using separate environment-variable placeholders.

Example with environment variables:

{
"path": [
"$[env:SAML_CONTENT_PATH_1;default=/content/site1]",
"$[env:SAML_CONTENT_PATH_2;default=/content/site2]"
]
}

If the requirement is instead to use different SAML/IDP configurations for the same exact path, that is not recommended because it can cause handler-selection conflicts. In that case, the better options are:

Translate