Topic-icon Google Login/Sign-up redirects to myaccount.google.com instead of my site

Active Subscriptions:

None
Hello Dear Team,
After signing up or sign in by using the Google method. user is being redirected to the following URL instead of my site - myaccount.google.com
at this stage, if the user goes back to my domain name, he is registered and logged in.... so the function works, the only problem is google app does not redirect the user back to the site. 
The topic has been locked.
Support Specialist
If you are not being properly redirected to your site after authentication, it's likely caused by one of the following:
* Something in your Google Application is not setup properly. To verify, please go through the Google Application Setup Guide and check all your settings are correct.
* Another extension on your site is detecting a social login and performing a redirect. Sometimes templates, plugins or other extensions can have social authentication features that assume any redirection back from Google should be handled by their code, and then they redirect to the wrong place. Please double check that no other extension would be trying to authenticate social users.

Finally, I see you've had a subscription and older version of JFBConnect before. Did this issue only start after upgrading to v9 or is this the first time you're setting up Google authentication?

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

None
Hi Alex, I did double check that all the settings are set up properly. I don't mind to try and do it from scratch again.

I don't have any other social plugin on my system. Template I've created from scratch so I don't think it's related.

I'm pretty sure I had the same issue before upgrading to version 9

Any other suggestions?
The topic has been locked.
Support Specialist
No other suggestions off hand. At this point, we'd ideally be able to get FTP access to your site to diagnose where the problem is. Google is redirecting to your site after authentication, but then JFBConnect is redirecting back to myaccount.google.com.

With FTP access, we can better step through the code to see where it's going off the rails.

To send credentials, please use the Contact Us button at the top of the page to send us an email.

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

None
Thank you Alex, I'm going to submit the information now, I've also tried to set up google settings from scratch, using the instructions, I'm facing the same problem....
The topic has been locked.
Support Specialist
Thanks for your credentials. They were helpful for us to dig in quickly and narrow down where the issue lies.

During the authentication process with Google, we redirect the user back to your site and process their user details. If everything checks out, we tell Joomla to authenticate the user. If this is successful, then the next steps are to redirect the user to whatever location is setup for returning user redirection.

However, on your site, no code is executed after we ask Joomla to log the user in. That means that another plugin is detecting an authentication and redirecting the user on its own.

Can you please check and (temporarily) disable any plugins in the "User" group that aren't part of JFBConnect or distributed with Joomla? Then, test authentication again to see if the redirection works properly.

If it still fails, the plugin may be in another group, but usually "user" plugins are the ones that hook into login events.

If it works, please re-enable plugins one-by-one to determine the exact plugin that is causing the redirection issue and we can go from there.

Thanks!
Alex
The topic has been locked.