Topic-icon User isn't redirected well using Google login

Active Subscriptions:

None
Whenever a user logs in to our testing website they're automatically forward to an incorrect link.
We discovered that if we removed the final part from the url the user does log in
For some reason the following is added to the link: &scope=email profile www.googleapis.com/auth/userinfo.email www.googleapis.com/auth/userinfo.profile

I've already recreated the API key just in case but still the forwarding remains, does anyone know what's causing this issue?
The topic has been locked.
Support Specialist
5 years 2 months ago #65027 by alzander
I'm sorry you're running into issues with Google authentication. There are quite a few changes that Google is going through right now with the discontinuation of Google+. Can you let us know what version of JFBConnect you're using? The latest is v8.0.5, which has the most up to date implementation with their changes.

If that is the version you are using, can you let us know when the Google redirect is failing? Is it when you are redirected to Google to login to your Google account or is it after you authenticate and are brought back to your website?

The part of the link you note is correct. The scope=... part is what tells Google what information we need from the user to authenticate on your site.. mainly, your profile information (name) and email address. It shouldn't cause issues, but if it is, we'll gladly investigate further.

Finally, can you tell us what browser you are using? And if you can try from other browsers to test if the behavior remains, that would help understand the issue further.

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

None
5 years 2 months ago - 5 years 2 months ago #65029 by ebuisman
Hi Alex,

We're using the current version (v8.0.5).

After running multiple tests I have figured out that when logged in with several gmail accounts this issue is happening, after the google login screen where you can pick the account. Being logged in to just one account doesn't cause this issue. It happens in multiple browsers as I tested it in chrome, firefox and IE.
Fully logging out and then needing to log in again also seems to be going correctly it's only happens when you're logged in to 2+ accounts on gmail.
Last edit: 5 years 2 months ago by ebuisman.
The topic has been locked.
Support Specialist
5 years 2 months ago #65041 by alzander
I just tested on our site and a few others and I wasn't able to recreate the behavior you describe. I have 3 different Google accounts and was asked to sign in with one. It's an account I already have used to register on this site, so I was just logging in.. but it worked as expected.

Can you test on this site with your Google account (if you don't mind) and see if you run into the same issue? That will help narrow things down some. We haven't heard of this issue from any other users though, so we'll need to get a handle on what's different from your testing vs ours.

Thanks,
Alex
The topic has been locked.