Topic-icon Small issue when linking social account to joomla account

Active Subscriptions:

None
Hello,

When a user first links their social account (facebook for this example) to their existing joomla account, they are taken to a page where they can sign in with joomla or create a new account.

If a user has an existing joomla account and clicks the login button, they are immediately signed in as you can see in the header (avatar shows in top right corner) but they arent directed to my homepage which makes it look like something has gone wrong. My best guess is because my setting for "returning user redirection" is set to same page, but I think that this very specific page should have its own rules since the current experience feels broken. I do not want to change my "returning user redirection" to my homepage because then it will always take existing users who already have linked accounts to my homepage which is also a bad experience.

Below is a video



Thanks
The topic has been locked.
Support Specialist
8 years 10 months ago #62262 by mel
Yes, the video is showing strange behavior. When an existing user is mapped to a social network, they should not be redirected back to that login/register view, even if Same Page is selected. I checked the behavior on my test site and was redirected back to the homepage, not the loginregister view.

1. For sanity, could you verify what the "New User Redirection" setting is set to?
2. Looking at the code for this mapping, if there's a failure in the login, it's redirected to that login/register view instead of the redirection setting. From your behavior, it seems like a possibility is that the user might not have been logged in properly, even though the avatar and name show up. Could you look to see if there are any other system plugins that may redirect on login, such as JomSocial Redirect system plugin?

-Melissa
The topic has been locked.
Active Subscriptions:

None
Hi there,

I do in fact use a redirect plugin but it is only for first time users who have never visited the site and it takes them to a very specific page. Maybe this is the issue?

Thanks
The topic has been locked.
Support Specialist
8 years 10 months ago #62281 by mel
Perhaps try reordering the plugins - JFBC first, then the redirection and vice versa. Also try temporarily disabling the other one as well. Let me know if there's a change in behavior.
The topic has been locked.