Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Auto login users

11 years 4 months ago #228749 by socialmedia
Auto login users was created by socialmedia
I want CB to automatically login the user when he/she opens his/her browser.
I looked at the CB Auto Action, but I don't think this will solve my problem. Or I don't know how to create the rule in Auto Action.

I am using CB on my Joomla server for our intranet. Is the only way to solve this, perhaps the usage of LDAP integration? Already all my users do exist in CB/Joomla. Will turning on the LDAP integration integrate with the existing users, or will it add extra users? Bare in mind, that the user names in CB are the same as the user names LDAP.

Hopefully it all makes sense. Thanks in advance.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago #228757 by krileon
Replied by krileon on topic Auto login users

I want CB to automatically login the user when he/she opens his/her browser.

You can't. CB has no idea who they are. The only way to keep track of that is using a cookie, but that would be a beyond massive security issue. What happens if someone is on a public computer? They entire account was just compromised. Your best option is to use "Remember Me", which does this to an extent (the cookie has a lifetime). Most browsers will clear this cookie anyway so it really won't work well in either use case.

I am using CB on my Joomla server for our intranet. Is the only way to solve this, perhaps the usage of LDAP integration? Already all my users do exist in CB/Joomla. Will turning on the LDAP integration integrate with the existing users, or will it add extra users? Bare in mind, that the user names in CB are the same as the user names LDAP.

It'll probably want to create new LDAP users, but I can't say for sure; I suggest giving it a try. It still won't auto log them in at any rate as they'd need to input their LDAP credentials.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: socialmedia

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum