Expand my Community achievements bar.

SOLVED

Cookie Authentication in CQ

Avatar

Former Community Member
I want to authenticate the CQ user through cookie, means the user credentials are stored in user browser(cookie), which would be auto read and auto authenticated in CQ.

Please suggest...
1 Accepted Solution

Avatar

Correct answer by
Level 8

Try looking at the Trusted Header Authentication handler which is intended for SSO integration. I believe it meets you use case -  http://dev.day.com/docs/en/cq/current/deploying/single_sign_on.html#Configuring Trusted Header Authentication and SSO. 

View solution in original post

4 Replies

Avatar

Correct answer by
Level 8

Try looking at the Trusted Header Authentication handler which is intended for SSO integration. I believe it meets you use case -  http://dev.day.com/docs/en/cq/current/deploying/single_sign_on.html#Configuring Trusted Header Authentication and SSO. 

Avatar

Former Community Member

Hi,

Thanks for the quick feedback, the requirement is a bit different:

We've uploaded the custom users to the CRX /home/user directory with all the profile data. The user node is created with an id like "123456'' with some dummy password.

An anonymous user opens the website (having this user id in a Cookie), now we want to auto authenticate this particular user so that the authorizableId (property in SessionPersistence Cookie) gets updated as "123456' rather as anonymous. So that the user falls in the proper segment and the marked teaser is rendered to him/her.

Please suggest,

Susheel

Avatar

Level 10

I am not sure i am following you - you want an anonymous user to login (the Cookie is updated with this Id) -- but you want props of the cookie updated with "123456"?