Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Multiple SAML configuration with Single Cert AEM6.5.9


Level 4

Hi Team,

I am trying to achieve two different domain "https://abc.com" & "https://xyz.com" both have different content path "/content/abc" & "/content/xyz". 

When I upload a cert in truststore I got the alias name which is required for SAML configurations.

I created two SAML configurations where I put all the required fields with same alias name on both the configurations after I save the configurations I see for one configuration throws an error in the saml.log file . 

Also SAML authentication won't work for both the sites. 

I followed lots of articles  https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/saml-configuration-for-mul... , https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/configuring-saml-for-multi... but no luck.


 *ERROR* [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.adobe.granite.auth.saml.SamlAuthenticationHandler.1f5e9a78-8736-4ddb-a25d-a4b3f2cf99fc)] com.adobe.granite.auth.saml bundle com.adobe.granite.auth.saml:1.0.24.CQ650-B0010 (227)[com.adobe.granite.auth.saml.SamlAuthenticationHandler(30257)] : factory pid com.adobe.granite.auth.saml.SamlAuthenticationHandler, but this pid is already supplied as a singleton: [com.adobe.granite.auth.saml.SamlAuthenticationHandler] at index 0


Can anyone help to fix such issues ? Thank you 


1 Reply


Community Advisor

@_SumitSinghal from error message it looks like com.adobe.granite.auth.saml.SamlAuthenticationHandler is configured as singleton? Can you point me to official adobe documentation join followed to configure multiple SAML authentication handler?