Topic-icon Google+ login not working

Active Subscriptions:

None
10 years 7 months ago - 10 years 7 months ago #36590 by ananad
Hi,

I have followed the instructions on setting up JFPconnect step by step.

Facebook login is working fine but Google+ login is not. It keeps returning with "We were unable to retrieve your Google account information. Please try again."

I have double checked the Client ID and the Client Secret on the API and all are matching. The component is able to link to my Google+ API (with all the branding info showing up) but when I select a google+ account to login with it returns with this error. I have tried using several Google accounts, and the same error occurred every time.

Where am I going wrong?

Thanks
Anas
Last edit: 10 years 7 months ago by ananad.
The topic has been locked.
Support Specialist
10 years 7 months ago #36595 by alzander
Replied by alzander on topic Google+ login not working
Anas,
Can you go to the Configuration -> Misc area of JFBConnect and turn on the "Enable Debugging Mode" setting? Then, try to log in again. That won't fix anything, but will hopefully provide a better error message that can help us track things down.

Google integration is new this release, but has been working very well for most users. It's possible there is a bug somewhere though and we'll gladly help track it down.

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

None
10 years 7 months ago #36596 by ananad
Replied by ananad on topic Google+ login not working
Thanks you very much for your prompt response!

I did as you asked, and got the following error:

Error code 400 received requesting access token: { "error" : "invalid_grant" }.

Any idea what might have caused that?

Thanks again!
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago - 10 years 7 months ago #36599 by ananad
Replied by ananad on topic Google+ login not working
btw I just turned off my SEO friendly URLs (sh404SEF is running on my site) and Google+ is working now!

I would still like to have sh404SEF running though. Any way to work around that??
Last edit: 10 years 7 months ago by ananad.
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #36601 by ananad
Replied by ananad on topic Google+ login not working
Hi Alex,

I have managed to solve the problem by excluding JFBconnect component from sh404SEF (in sh404SEF configuration settings).

It seems to be working fine now.
The topic has been locked.
Support Specialist
10 years 7 months ago #36605 by alzander
Replied by alzander on topic Google+ login not working
Anas,
Wow! Excellent sleuthing. We'll have to look into how we can make that better. In general, we recommend 'skipping' the JFBConnect URLs in sh404SEF because Facebook has been picky in the past as well when something modifies it's URLs. We also don't have many front-end URLs that you'd directly link to or care to have SEF, so it shouldn't be a big deal, but it would be nice to not have this issue in the future.

Anyways, thanks so much for narrowing that down and letting us know what worked for you. If you run into anything else or have any suggestions/feedback for improvement, just let me know.

Thanks,
Alex
The topic has been locked.