Topic-icon Google integration - Error: redirect_uri_mismatch

Active Subscriptions:

None
Google login returns error when accessed.

On creating an app in google, the 'Authorized redirect URI' is submitted as 'www.example.com/about-us'
And on JFBConnect back-end, under 'General Configuration' the same menu (About Us) is selected as the 'Returning User Redirection'

When a user logs in on the front end, after the google validation, it shows the following error.


Error: redirect_uri_mismatch
Application: exmaple app
You can email the developer of this application at: This email address is being protected from spambots. You need JavaScript enabled to view it.
The redirect URI in the request: example.com/index.php?option=com_jfbconn...back&provider=google did not match a registered redirect URI


We are currently running on:
Joomla! 3.2.3
JFBConnect Version: 6.0.2

Any suggestions on what to fix?
The topic has been locked.
Support Specialist
11 years 9 months ago #46376 by alzander
You mention at the top that you set the Redirect in the Google App using www, but the lower URL throwing the error shows no www.

You'll need to setup your Google App to have both www and non-www versions of your URL. Similarly, if you use SSL on your site, you'll need to add the http and https versions of both.

I hope that helps explain, but if you need any more help, just let me know.

Thanks,
Alex
The topic has been locked.