Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

SAML Authentication

Avatar

Level 3

Hi,

We are using SAML authentication for login to AEM. It is working fine in author as users are present in AEM or will be created if not present. But for publish instance, users will not be kept in AEM and thus unable to use existing SAML Handler. The documentation also states that it is the limitation of OOTB handler.

https://helpx.adobe.com/experience-manager/kb/saml-demo.html

Limitations    
User Must Exist in AEM
Users logging in via the handler must exist, or if missing must be created in, AEM (“Autocreate CRX Users” must be checked). This is because the Sling authentication framework, which the  SamlAuthenticationHandler is a part of, extracts user credentials from the SAMLResponse and logs into the JCR repository using those credentials.


Any suggestion how we can use SAML for authentication for publish. The user base in 2.2 M and thus it is decided not to keep so much users in AEM.

7 Replies

Avatar

Level 10

I believe this is true - you need to have users in AEM. 

Watch this GEMS session as it may provide more details: 

https://docs.adobe.com/ddc/en/gems/saml-and-aem.html

I am talking to internal ppl to see if there is other ways to proceed here. 

Avatar

Level 10

HI Nitish,

   There are couple of ways and hack arounds, all need some kind of custamization.  Before that what is the use case for protecting the pages in publish when user does not exist in publisher?

Thanks,

Sham

Avatar

Level 3

Hi Sham,

The user base is pretty huge and adobe itself has recommended the client not to keep users in AEM for publish instance.

Avatar

Level 10

Hi Nitish,

  The idea is to suggest right workaround for your use case. I am not challenging on recommendation of user profile storage in AEM.  but trying to find when there is no user in publisher and all content are available to anonymous why do you need authentication.   If you do not want to discuss the use case in open forum feel free to engage the official  channel.

Thanks,

Sham

Avatar

Level 3

Hi Sham,

The idea was not to offend you but was just mentioning that the suggestion for not keeping the users in AEM is not suggested by us. Since the client has huge user base, so the solution was recommended.

I am seriously looking for suggestions and help here.

Thanks and Regards,

Nitish 

Avatar

Level 10

As Sham suggests - please open a ticket, They need to investigate with you.

Avatar

Level 3

Thanks Sham and smacdonald2008 for the suggestions.