Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

How to Auto Login after registeration

$
0
0

I have the following requirement and I've spent some time trying to experiment and looking for solutions but have failed to come up with anything that works.

 

Requirement:

> Register the user in CQ

> Automatically login the user once he registers

  > The user should stay logged in (remember me forever)

 

I've am able to succesfully register the user using the OOTB examples. I created my own register form action based off the libs/foundation/components/actions/update/post.POST.jsp file.

 

I've looked into several api's to figure out how to auto login once the 

am.getOrCreateAccount() call finishes successfully

 

I tried

repos.login(creds);

 

Even tried the httppost way described on this thread: http://forums.adobe.com/message/4896922

 

If anyone can point me in the right direction would really appreciate it!

 

thank you!!


Viewing all articles
Browse latest Browse all 12476

Trending Articles