|
GoogleLogin Redirect URL errorThis discussion has been marked as solved |
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.
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:
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
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.
The above was already as you suggested ... however the google login module still states a non SSL address for the redirect