Topic-icon Invalid token error

Active Subscriptions:

None
7 years 1 month ago #53581 by gvikutan
Invalid token error was created by gvikutan
Joomla 2.5
JFBConnect 6.2.4

I'm getting invalid token error when trying to log in through the Login Form.
The way to reproduce:
1. When going to site, it will automatically log in using Facebook credentials.
2. Log out.
3. Click Log in and enter username that is not connected to Facebook.
This will result in the blank page with Invalid Token error.

Disabled cache by setting Cache Duration to 0 but that didn't help.
Reproducible on all browsers.
The topic has been locked.
Support Specialist
7 years 1 month ago #53582 by mel
Replied by mel on topic Invalid token error
Please go into the SCLogin Advanced parameters section and set the caching setting there to disabled. Let us know if this helps. The setting in the JFBConnect component is mainly used for caching for social network and shouldn't affect this.

-Melissa
The topic has been locked.
Active Subscriptions:

None
7 years 1 month ago - 7 years 1 month ago #53584 by gvikutan
Replied by gvikutan on topic Invalid token error
I've already done that, as mentioned in my post I set the Cache Duration there to 0 but that didn't help.
This always happens when logging in with a user not linked to FB account after logging out user(s) that are connected to FB.

My session expiration in Joomla global setting is set to a 2 hours if that helps. The problem happens immediately after logging out FB user and logging in as a different user.
And it looks like my users are getting this error regardless of this test case.

Thanks.
Last edit: 7 years 1 month ago by gvikutan.
The topic has been locked.
Support Specialist
7 years 1 month ago #53585 by mel
Replied by mel on topic Invalid token error
The only two options in the SCLogin parameters for caching are 'Use Global' and 'No caching'. There is not an option to set a number here.

Also, please try enabling the standard mod_login Joomla module to see if you have the same issue there.

-Melissa
The topic has been locked.
Active Subscriptions:

None
7 years 1 month ago - 7 years 1 month ago #53586 by gvikutan
Replied by gvikutan on topic Invalid token error
It looks like that helped. Thank you so much for such a quick response!
Last edit: 7 years 1 month ago by gvikutan.
The topic has been locked.
Support Specialist
7 years 1 month ago #53592 by mel
Replied by mel on topic Invalid token error
Glad that got it taken care of. Let us know if you run into anything else.

-Melissa
The topic has been locked.
Social Stream
Hide. Seek. Play!

Countdown Hide & Seek Game

Countdown, the new hide & seek toy, is available now! Designed and developed by the founders of SourceCoast, it's the perfect toy to get your kids moving at all ages.

Get the Hide and Seek Toy on Amazon