We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Removing invite-through-Gmail button in Dashboard | Forum

Topic location: Forum home » Support » General Questions
Tester
Tester Jan 25 '13
After several frustrating attempts, I still can't use the G button, under Invite Friends, in the Dashboard. I get the message: "Error: redirect_uri_mismatch

The redirect URI in the request: http://findonliners.com/community/google/oauth did not match a registered redirect URL."


How can I remove the Gmail button from the page?

Alia Team
Alia Jan 29 '13
1. Regarding G connect, I have PMed you.

2. >>How can I remove the Gmail button from the page?

Uninstall the plugin and install again.
After re installation set only FP tab and don't do anything with "Google" tab.
cit27
cit27 Jan 29 '13
I just tried to install google connect (a few minutes ago) and try to acces
I found the same problem

The redirect URI in the request: http://www.microblogasia.com/google-connect/oatuh did not match a registered redirect URI

Alia Team
Alia Jan 29 '13
PMed you.
cit27
cit27 Jan 29 '13
Solved by my self
Plugin Gconnect-> file: init.php
Original code on line 7
OW::getRouter()->addRoute(new OW_Route('gconnect_oatuh', 'google-connect/oatuh', 'GCONNECT_CTRL_Connect', 'oatuh'))

Replace to this one
OW::getRouter()->addRoute(new OW_Route('gconnect_oauth', 'google-connect/oauth', 'GCONNECT_CTRL_Connect', 'oauth'));
The Forum post is edited by cit27 Jan 29 '13
Tester
Tester Jan 29 '13
cit27.

The difference is only the semicolon at the end of the line? :)

Line 7 in my file has the semicolon.

cit27
cit27 Jan 29 '13
Let me know the files

Tester
Tester Jan 29 '13
../ow_plugins/gconnect/init.php
cit27
cit27 Jan 29 '13
yes i use the latest updated...please try it but back up first the file
Tester
Tester Jan 29 '13
cit27, I have the line

OW::getRouter()->addRoute(new OW_Route('gconnect_oauth', 'google-connect/oauth', 'GCONNECT_CTRL_Connect', 'oauth'));


"latest updated". Latest of what?

cit27
cit27 Jan 29 '13
i download today from oxwallstore, but it see your code is same
The Forum post is edited by cit27 Jan 29 '13
cit27
cit27 Jan 29 '13
Tester, I already tested your site googleconnect...this is what i found your error redirect
https://accounts.google.com/...nity/google-connect/oatuh&client_id=877847137787-0nkjq51j3jrfo34bm2jgd17673q2qgt5.apps.googleusercontent.com&hl=id&from_login=1&as=-7058ace276b02a0f

see the bold text
the correct isoauth

Try
->Check/correct in google aplication: yoursite.com/google-connect/oauth
->Check init.php file- change all text "oatuh" to oauth
GTranslated
The Forum post is edited by cit27 Jan 29 '13
Tester
Tester Jan 30 '13
In my init.php file it is oauth everywhere, no oatuh at all:)
cit27
cit27 Jan 30 '13
->Check/correct in google aplication: yoursite.com/google-connect/oauth
If not solved...GIVE UP!!!!
Alia Team
Alia Jan 30 '13
Tester, PMed you the ID and secret key of the application I have created for your site myself. Let me know if this works for you.
Tester
Tester Jan 30 '13
It doesn't, dear Aliia.
Unique
Unique Jan 30 '13
i believe this is init file problem
The Forum post is edited by Unique Jan 30 '13
Alia Team
Alia Jan 30 '13
In case with Tester  it was incorrect APP settings.
We have  made it work with my own APP ID and Secret Key.

Once we manage to set Tester's own App successfully, I will share the solution with you guys.

Suresh
Suresh Sep 26 '14
Still no solution for this? 
The Forum post is edited by Suresh Sep 26 '14
ross Team
ross Sep 29 '14
Solution for what Suresh? You need to remove Gmail button invite on your Dashboard?
Pages: 1 2 »