× Joomla Facebook Connect support forum

Topic-icon Facebook Login doesn't redirect to correct target

Active Subscriptions:

None
When logging in to a page which is for registered users only, Facebook login redirects users to /index.php?option=com_user&view=login&return=blablabla instead of article that they should be redirected to. Has noone noticed it yet?
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9873 by remington
hi eray,
have you tried the redirect settings in configuration / login - logout ?
there you can set up everything you need ;-)
The topic has been locked.
Active Subscriptions:

None

fb_1346018680 wrote: have you tried the redirect settings in configuration / login - logout ?
there you can set up everything you need ;-)

I tried everyting there. The problem is that when I try to access an article for only registered users and log in using Facebook Login option when I'm prompted to log in, I am not redirected to the article, instead redirected to url /index.php?option=com_user&view=login&return=blablabla. I am not redirected to "&return=blablabla" page :/
I've just set login redirection page to homepage but this is not what I want actually. Users should be able to view the page which is only for registered users after logging in using Facebook Login option. Is this a bug? I guess so.
The topic has been locked.
Support Specialist
15 years 1 month ago #9887 by alzander
Eray,
What version of JFBConnect are you using? That may help us come up with some suggestions. We're always improving the login functionality, and in 3.2.x, there were some large improvements for SEO extensions and some minor bugs in certain cases. If you're using anything prior, that may be part of the problem. If you want to stick with that version, we can probably help you implement some of the newer fixes into the older version if necessary. However, please also post from the account you subscribed from, so we can prioritize your support accordingly.

Thanks!
The topic has been locked.
Active Subscriptions:

None
It is 3.2.1 version. I made a workaround using Advanced Module Manager's fine-tuning options on a custom HTML module and inside the module I put a JavaScript redirection for each of registered-user-specific pages. Here's how it works:

ONLY if user is LOGGED IN and SEF URL contains "return=aHR0cDov" (Registered.html) = JavaScript-redirect to > Registered.html
ONLY if user is LOGGED IN and SEF URL contains "return=aHR0casd" (Registered2.html) = JavaScript-redirect to > Registered2.html

This is a lame way to fix it but also the only way for this kind of cases :/
The topic has been locked.
Support Specialist
15 years 4 weeks ago #9909 by alzander
Very strange, and still a little unsure about what's going wrong, but glad you got a solution.

Best of luck to you.
The topic has been locked.