Expand my Community achievements bar.

SOLVED

AEM 6 SSO configuration not working

Avatar

Level 3

 I am trying to configure the local AEM 6 instance for SSO configuration. As specified in this document https://docs.adobe.com/docs/en/aem/6-0/deploy/configuring/single-sign-on.html

I have configured the     Header Names property in the Adobe Granite SSO Authentication Handler as 'testheader'

The 'path' is set as / and the format is AsIs

Now I logout of the instance;and set the request header using the 'ModHeader' chrome plugin; as 'testheader' : 'admin'

But when I reload the page; I get the error as a white screen with the message 'Authentication Failed'

As per this document; https://helpx.adobe.com/experience-manager/kb/HowToConfigureSSO.html the 'trust_credentials_attribute' is not required to be set any more in AEM.

 

So; as per understanding; after logging out of AEM; and setting the request header; the request should get authenticated and AEM should login the user with login id 'admin'

Is the configuration correct; or we need to configure the 'trust_credentials_attribute' in repository.xml for AEM as well?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

I followed the same steps on AEM 6.1 instance and it worked for me. I see Authentication Failed message only when I set wrong user name in the header value. Are you testing this on 6.0 version ? Do you see any exception/error in the logs ?  

View solution in original post

3 Replies

Avatar

Level 10

There is no repository.xml in AEM 6.x so you dont have to set that attribute. following [1] should be working. Are you seeing an error ??

[1] https://docs.adobe.com/content/docs/en/aem/6-1/deploy/configuring/single-sign-on.pdf

Avatar

Level 3

Hi bsloki . Thanks for your reply.

As I mentioned previously; I get an error 'Authentication failed' ; when I reload the page after setting the header using chrome's extension. 

I am using the tutorial as specified in https://docs.adobe.com/docs/en/aem/6-0/deploy/configuring/single-sign-on.html

Can you please let me know if the tutorial is not being followed properly?

Thanks

Avatar

Correct answer by
Employee Advisor

I followed the same steps on AEM 6.1 instance and it worked for me. I see Authentication Failed message only when I set wrong user name in the header value. Are you testing this on 6.0 version ? Do you see any exception/error in the logs ?