Sometimes 2FA does not works

Sometimes 2FA does not works

Sometimes, i cant login using the 2fa (google) for certain users. I get an error message:

Security token does not matchs, but i could not even see the secuirty token filed option.

This only happens sometimes.

leaodonorte
useravatar
Offline
24 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Sometimes 2FA does not works

The SCLogin module uses Javascript to query Joomla if the user that's trying to login has 2FA enabled. If that check comes back as false, then you won't see the 2FA field. I don't know of a reason why that check would come back as false if the user has it enabled, but hopefully that information helps narrow things down. Specifically, if it's happening for a specific user, look to see if there's something different about their 2FA configuration or something else that may stand out. Any details you can provide will definitely help.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24100 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Sometimes 2FA does not works

Hi Alex, the user in this case is myself. The super user. I really dont know why is not working properly. It works flawless on backend.

leaodonorte
useravatar
Offline
24 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Sometimes 2FA does not works

I don't know what browser you're using, but can you try to open the Developer Tools.In the "Network" tab, hit "Preserve Log". Then try to login.

If it fails, check the Network tab and see if any requests are marked with 400 (or higher) error codes. If so, let us know what those URLs are.
Then, in the Javascript Console console, check if there are messages or other error messages that may be related to our Javascript check to see if the user has 2FA enabled.

One other thing to check is in the Global Configuration area of Joomla. Set the Error Reporting setting to 'None'. While I don't know of any PHP warnings or errors our check causes, if some other extension is causing a PHP message to be thrown, that could prevent our code from executing properly.

I hope that helps, but if not, please let us know.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24100 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11662
Total Polls:
0
Total Posts:
48978
Posts today:
8
User Info
 
Total Users:
47788
Newest User:
oliverpreissner
Members Online:
1
Guests Online:
971

Online: 
winchester
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program