Topic-icon SC Login wont work, but Joomla login does

Active Subscriptions:

None
7 years 5 months ago #64891 by arkofhope
I have installed SC Login and it won't work, so I installed the Joomla login module and it wouldn't login either until I got some advice from Joomla.org to "Disable System - Privacy Consent plugin". When I did that Joomla's login would work, but SC Login still won't.

The forum post where someone helped me from Joomla is here forum.joomla.org/viewtopic.php?f=706&t=968398. What can you suggest? I want to get this working with JomSocial we just added, then I will be adding JFB Connect. Someone also referred me to this Joomla.org forum post but I am not sure it would help our situation with SCLogin so I decided to write here first instead. forum.joomla.org/viewtopic.php?f=706&t=966887

Module is active on this page of our site only right now www.removingchains.org/resources/write-for-hope-project

Blair Corbett, RemovingChains.org
The topic has been locked.
Support Specialist
7 years 5 months ago #64892 by alzander
Can you give a little more explanation as to what isn't working? Since it sounds like you aren't using JFBConnect yet, I'm assuming you're logging in with standard Joomla username/password credentials.

Beyond that, what happens? Do you get an error message, does the page reload, does 'nothing' happen when you click login? Any details you can provide will help us investigate and provide some solutions for you.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 5 months ago #64895 by arkofhope
Hey Alex,

Thanks for your fast reply. When I click login using an active username nothing happens BUT the Register button does work. Clicking login just stays on the same page.
The Joomla standard login is placed directly above SC Login on the same page and it's working now that I "Disabled System - Privacy Consent plugin".
Both logins are only on this page of our site until we get the issue resolved... www.removingchains.org/resources/write-for-hope-project
If there is a private way I could share a login credentials for you to try.

Thanks so much,
Blair Corbett
The topic has been locked.
Support Specialist
7 years 5 months ago #64905 by mel
If you click on the envelope icon under Alex's (or my) avatar, that will allow you to send a private message with the credentials.

-Melissa
The topic has been locked.
Active Subscriptions:

None
7 years 5 months ago - 7 years 5 months ago #64909 by arkofhope
Hi Melissa,

I sent it to Alex using the process you suggested last night but neglected to inform you here.

Thank you!
Blair Corbett
Last edit: 7 years 5 months ago by arkofhope.
The topic has been locked.
Active Subscriptions:

None
7 years 5 months ago #64911 by arkofhope
Hi Melissa and Alex,

Can someone please look into why SC Login will not work when clicking login even though Joomla's does?
Alex offered up JFB Connect but I am sure I need SC Login working first before getting that.
But the bigger issue is that we are installing a chat component that needs out login working properly before it can be installed.
JomSocial has helped us get all of their product working. I asked if they could help me with SC Login but they wouldn't.

Blair Corbett
The topic has been locked.
Support Specialist
7 years 5 months ago #64917 by alzander
Blair,
Your subscription for JFBConnect is setup. Sorry for the delay on that.

As for SCLogin, the reason it's not working is because you have 2 Factor Authentication enabled on your site and the check the SCLogin performs is failing. When you try to login with SCLogin, it makes a call to the following URL to check if the user has 2FA enabled for their account:
/modules/mod_sclogin/ajax/otpcheck.php

For some reason, that URL is redirecting to /table on your site. I don't know why, but either your SEF extension (sh404SEF), an .htaccess rule or some other redirection rule is changing that URL making our call fail.

I'd check to make sure that file exists in the filesystem and, if so, then determine what could be redirecting from the correct call to the /table URL.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 5 months ago #64918 by arkofhope
Hey Alex,

OK, yep that's it for sure. I turned off 2-factor authentication and it works now. I don't know how to do that other stuff to figure out why it's happening. I Google searched with AdminTools and SH404 and can't find anything. I have no clue how to change it anyhow, so is there any really big deal for having 2 factor shut off since Akeeba AdminTools protects our site so well as it is?

Thanks so much for setting up JFB Connect! I will tackle that next to see what I have to do to make it work.
The topic has been locked.
Support Specialist
7 years 5 months ago #64920 by alzander
The issue may be Admintools itself. There's a setting in their WAF (Web Application Firewall) for "Direct File Inclusion", which prevents direct access to PHP files like we need. Try turning that filter off to see if authentication with the SCLogin module starts working.

If so, there must be a way to let AdminTools know that hitting that file directly is ok. I don't know that offhand, but I'd look around to see if there are ways to add the file I references above to an exception list. If not, let us know and we can investigate further.

I can't recommend disabling 2FA. If you have enabled, you're doing the right thing and telling you to disable (reducing security) is never a good thing.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 5 months ago #64923 by arkofhope
Hey Alex,

That didn't help. I turned off the DFI Shield and nothing happened. It's frustrating since the normal Joomla login will work. So I have turned off 2 factor authentication again UNLESS your JFB Connect will work as will with normal Joomla login and you don't care if I am sort of forced to use theirs until we find some solution.
The topic has been locked.