SAML 2.0 SP metadata is unavailable as a URL or XML file in AEM as a Cloud Service
This article explains how to provide Service Provider (SP) SAML 2.0 metadata for Adobe Experience Manager as a Cloud Service when integrating with an external Identity Provider such as Shibboleth. It outlines the steps to manually gather and share the necessary SP metadata details.
Description description
Environment
- Adobe Experience Manager as a Cloud Service
- AEM Publish environment
- SAML 2.0 Authentication Handler
- External SAML 2.0 Identity Provider, such as Shibboleth
Issue/Symptoms
- The Identity Management team requests the application’s SAML 2.0 SP metadata to onboard AEM as a relying party.
- The Identity Provider requires the SP metadata as a metadata URL or XML metadata file.
- The SAML Authentication Handler is configured in AEM, but no SP metadata URL or generated XML file is available.
- You need to determine how to obtain and provide the required SP metadata for the AEM Publish environment.
Cause
AEM as a Cloud Service doesn’t generate SP metadata XML or provide a metadata URL. You must manually collect the SP details from the SAML Authentication Handler configuration and provide them to the Identity Provider team.
Resolution resolution
Follow the steps below to provide the required SAML 2.0 SP metadata:
-
Collect the following values from the SAML Authentication Handler OSGi configuration:
- SP Entity ID
- Assertion Consumer Service URL
- Public certificate, if applicable
- NameID format
- SAML bindings
-
Share the collected values with the Identity Management team so that they can onboard AEM as a relying party in the external Identity Provider.
-
If the Identity Provider requires an XML metadata file, manually create the file by using the values from the SAML Authentication Handler configuration.
-
Use the SP metadata example in the Adobe SAML demonstration article as a reference and replace its example values with the applicable AEM SAML configuration values.