How can I do a default logged in without asking for the person who is visiting a particular page on my website?
I want the log in should be done automatically when a user hits the particular page. That logged in user will a guest user and same for all the visitors on my website.
Can I achieve this?
Thanks,
Prajwal
Solved! Go to Solution.
Hi
Prajwal Akolnerkar wrote...
Hi Jorg,
You can refer my below post link -
I want to use the OOB Comment component and for posting a comment log in is required. Anonymous user can view the previous comment but can't post. Is there any alternative way, or we have to do the log in integration with Google or FB.
The ootb component assumes write access to the repository, therefor the requirement to have a JCR user with write permissions to the specific location in the repo. I do not recommend it at all, but you can change the permissions of the anonymous user to have write access. But this (and any other kind) of anonymous posting comments gives you a huge threat vector if this site is open to the internet. Please consider this in your design.
You should also think about how you distribute this usergenerated content over multiple instances. If you haven't please think about using Social Communities, which can address this problem quite nicely.
Hi,
what do you mean with "default log in"? A not-logged-in user will be using the anonymous user, which is the same for all non-logged-in users. What do you want to achieve?
kind regards,
Jörg
Views
Replies
Total Likes
Hi
I am not sure, what we need to achieve with default Login. But, If you want to have something like guest session,
Then please have a look at few community links:-
Link:- http://stackoverflow.com/questions/34916446/creating-guest-session
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Hi Jorg,
You can refer my below post link -
I want to use the OOB Comment component and for posting a comment log in is required. Anonymous user can view the previous comment but can't post. Is there any alternative way, or we have to do the log in integration with Google or FB.
Thanks,
Prajwal A
Views
Replies
Total Likes
Prajwal Akolnerkar wrote...
Hi Jorg,
You can refer my below post link -
I want to use the OOB Comment component and for posting a comment log in is required. Anonymous user can view the previous comment but can't post. Is there any alternative way, or we have to do the log in integration with Google or FB.
Thanks,
Prajwal A
Hi
Do you really want to comment using guest user then create a user in useradmin and then on page load have ajax call to login with that guest user and make sure that the user have enough permissions to comment
Thanks,
Mani Kumar K
Views
Replies
Total Likes
Hi
Prajwal Akolnerkar wrote...
Hi Jorg,
You can refer my below post link -
I want to use the OOB Comment component and for posting a comment log in is required. Anonymous user can view the previous comment but can't post. Is there any alternative way, or we have to do the log in integration with Google or FB.
The ootb component assumes write access to the repository, therefor the requirement to have a JCR user with write permissions to the specific location in the repo. I do not recommend it at all, but you can change the permissions of the anonymous user to have write access. But this (and any other kind) of anonymous posting comments gives you a huge threat vector if this site is open to the internet. Please consider this in your design.
You should also think about how you distribute this usergenerated content over multiple instances. If you haven't please think about using Social Communities, which can address this problem quite nicely.