Skip to Content Skip to Menu

login redirect problem

  • bradymc
  • bradymc
  • OFFLINE
  • Posts: 16
  • Thanks: 2
  • Karma: 0
2 years 8 months ago - 2 years 8 months ago #328308 by bradymc
login redirect problem was created by bradymc
When my users log into the website, they sometimes get redirected to the page they were on (as expected). But most of the time they are redirected to some random page on the site. It seems to be getting more egregious because it is now trying to redirect to subdomains that don't even contain web pages and to http despite the "Force HTTPS" setting being set to "Entire Site".

In my CB login module, the "Login Redirection URL" is blank. I don't have any active redirects in Joomla's Redirect Component. In configuration.php, $live_site is set to ''.

The website is www.3dtravelcompany.com
I have created a test login for you to use so you don't have to go through the registration process, but I don't want to post it "in the open".
Last edit: 2 years 8 months ago by bradymc. Reason: double url

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
2 years 8 months ago #328321 by krileon
Replied by krileon on topic login redirect problem
The return redirect URL passed to our login module first checks if &return (or if users.login.form.return session data exists) is in the URL they're currently trying to access. This will always be the case for example when accessing a Joomla article they can't access. If it's not we use Joomla API to grab the current menu item they're on if an &Itemid exists in the URL. If it does not we grab the current URL again using Joomla API.

Only thing I can think of is something installed is setting funky URLs for users.login.form.return, but even then we do an isInternal check to make sure domains match. So my next best guess is something installed acting on after login triggers. Are you using CB Auto Actions and if so have you configured any auto actions to act on any login triggers?


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.

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

  • bradymc
  • bradymc
  • OFFLINE
  • Posts: 16
  • Thanks: 2
  • Karma: 0
2 years 8 months ago #328350 by bradymc
Replied by bradymc on topic login redirect problem
The only auto-action that is in use is the reformatting of phone numbers but it's only triggered for onBeforeRegisterFormDisplay and onBeforeUserUpdate.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
2 years 8 months ago #328360 by krileon
Replied by krileon on topic login redirect problem
It's possible there's a 3rd party extension doing it then. Specifically User plugins in Extensions > Plugins or System plugins as both can act on login events. You said it only sometimes does this though. Have you found a way to reliably reproduce the issue? Anything in common when this happens?


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.

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

  • bradymc
  • bradymc
  • OFFLINE
  • Posts: 16
  • Thanks: 2
  • Karma: 0
2 years 8 months ago #328371 by bradymc
Replied by bradymc on topic login redirect problem
I turned off all user plugins (except for Joomla's) with no change in my luck. I tested each menu item on the site (3-4 times each) and there is only 1 page that works as expected ( www.3dtravelcompany.com/about-3d/meet-the-agents ). The rest all redirect to the home page. And once it redirected to a subdomain.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
2 years 8 months ago #328382 by krileon
Replied by krileon on topic login redirect problem
I don't know what else to suggest. Our login redirect URL comes from Joomla API. Does Joomla's login module do this as well? Were you able to reliably reproduce the issue or is it still entirely random?


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.

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

Moderators: beatnantkrileon
Powered by Kunena Forum