Topic-icon Google sign Error: redirect_uri_mismatch

Active Subscriptions:

None
The redirect URI in the request: campusdailyonline.com/index.php?option=c...&provider=google did not match a registered redirect URI


Request Details
scope=https://www.googleapis.com/auth/userinfo.email www.googleapis.com/auth/plus.me email profile
response_type=code
access_type=offline
redirect_uri=http://campusdailyonline.com/index.php?option=com_jfbconnect&task=authenticate.callback&provider=google
approval_prompt=auto
state=0c99ebf99ffd920b1a000ba4f51c937a
client_id=98841531045-c4bo9et1i8crcjnurguf9rtqqdm4fo2t.apps.googleusercontent.co
The topic has been locked.
Support Specialist
11 years 9 months ago #46516 by alzander
Please make sure you've gone over our Google Application Setup Guide . Specifically, step 7-4 for setting up your Application Redirection URIs.

I hope that helps, but if you still have issues, just let me know.

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

None
11 years 9 months ago #46519 by fb_1404849740
Hello,
Please see attached screenshot of my GDC.
Ofcourse I followed the instruction to the later. The error is generated by HTML entity for & (&) found in the redirect,
option=com_jfbconnect&task=authenticate.callback&provider=google

Hence it did not match with my GDC setting. what file is responsible?

File Attachment:
The topic has been locked.
Support Specialist
11 years 9 months ago #46620 by alzander
In a few of the Authorized Redirect URLs above, you've spelled your domain wrong. You switched the ai in "daily" and used "campusdialyonline.com".

Please fix those in the Redirect URLs and the Javascript Origins and things should start working properly.

If not, please take another screen shot of your configuration and we'll gladly help investigate further.

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

None
11 years 9 months ago #46622 by fb_1404849740
Hello.
Thanks for pointing out the errors, I have fixed the url spelling error, however, I still have same proble
The topic has been locked.
Support Specialist
11 years 9 months ago #46641 by alzander
Your page isn't loading for me know, so I can't test. When I try to load it, I get "This webpage is not available".

As for the issue, the only time the "redirect_uri mismatch" error appears is when your redirection URLs you've configured don't match what JFBConnect is sending.

When I tested yesterday, the "More information" link on the error page from Google showed the URLs with & and not &. In HTML, those symbols are equivalent though, so it shouldn't matter.

The only things I can suggest right now are:
* Double-check that you've entered the URLs into Google correctly with no mis-spellings and no spaces at the end of each URL
* Feel free to add each version of URL using & and & in between the parameters. It can't hurt to have more URLs as options
* You can even copy the URL that Google says doesn't match directly into their console, since that's what they are saying they expect.

If that doesn't work, let me know when the site is back online and we'll gladly investigate further.

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

None
11 years 9 months ago #46645 by fb_1404849740
Hello,
The website has been restored

I added this campusdailyonline.com/index.php?option=c...&provider=google
but its still didn't work,

May be I should PM my joomla admin inform to you.
The topic has been locked.
Support Specialist
11 years 9 months ago #46649 by alzander
Joomla credentials won't really help since it seems like it's an issue with your Google application configuration. Can you go to the Google Console application area, click on the "permissions" button and use the Add Member button? Then, add This email address is being protected from spambots. You need JavaScript enabled to view it. as with "Edit" permission.

Then, we'll be able to edit the application settings and hopefully narrow down whats wrong.

Thanks,
Alex
The topic has been locked.