HomeBreadcrumb ArrowModulesBreadcrumb ArrowOpenCartBreadcrumb ArrowGoogleLoginBreadcrumb ArrowGoogleLogin Redirect URL error
Thread Solved

GoogleLogin Redirect URL error

This discussion has been marked as solved
User Image
Alex member
#1 posted on 10/5/13

We are trying to setup the Google login and have entered the Google client ID and Secret key.  We copied Redirect URL from the module to the google api settings but get an error from google.

0
User Image
Mihail Stoychev Admin
#2 posted on 10/5/13

Hello Alex,

Thanks for reachnig us and giving us your feedback.

Regarding your issue, the redirect URI in your App should exactly match the redirect URI of your GoogleLogin installation. You may see the needed redirect URI in Admin > Extensions > Modules > Google Login > Edit > Google Settings

Keep in mind that if your web store is running with https, your redirect URI should also begin with https.

Try setting your App redirect URI to:

https://groovyzz.com/index.php?route=account/googlelogin

0
User Image
Mark member
#3 posted on 8/12/13

i am having issues with enabling SSL which is required by my credit card processor... 

here is what its set to that i cannot change in opencart google login  http://bombvapor.com/index.php?route=account/googlelogin

in google api i have it set to https://bombvapor.com/index.php?route=account/googlelogin

this is what i get from google when enable ssl 

Error: redirect_uri_mismatch

The redirect URI in the request: http://bombvapor.com/index.php?route=account/googlelogin did not match a registered redirect URI

 

is there a way to edit the url within the module to make them match 

 

 

0
User Image
Stoyan Dimitrov member
#4 posted on 9/12/13 (edited on 9/12/13)

Hello Mark, 

Make sure that you've enabled SSL in config.php like this:

define('HTTPS_SERVER', 'https://bombvapor.com/');

and in admin/config.php like this: 

define('HTTPS_SERVER', 'https://bombvapor.com/admin/');
define('HTTPS_CATALOG', 'https://bombvapor.com/');

Alternatively, make sure to set SSL address (https://bombvapor.com/index.php?route=account/googlelogin) in the Redirect URI field in your Google API Project's Access Settings.

0
User Image
Mark member
#5 posted on 9/12/13

The above was already as you suggested ... however the google login module still states a non SSL address for the redirect

0