Demitry Posted August 22, 2018 Share Posted August 22, 2018 @frankl Thanks Frank, I hid my prior comment before seeing your reply. I appreciate the help. I cannot seem to get past the this error - see screenshot below. The thing is that I followed the instructions in the PDF but they did not work for me. So I Googled how to do this and found this set of instructions: https://auth0.com/docs/connections/social/facebook I had to register with https://auth0.com The http://your_site/your_folder/login_with_facebook.php for the callback URI does not work. So, according to autho.com instructions I tried their version of http://[MY AUTH0 USER NAME].auth0.com/login/callback and that does not work either. Has anyone run into this issue before and found a solution? No matter what I do, I get the same error when testing the login authentication. Quote osCommerce: made for programmers, ...because store owners do not want to be programmers. https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce Link to comment Share on other sites More sharing options...
frankl Posted August 22, 2018 Author Share Posted August 22, 2018 These are the settings I have. which works fine. My OAuth Redirect URI is https, not sure if that's relevant. Alternatively, are you trying to collect any of the following: user_link user_gender user_age_range user_friends as these are no longer allowed to be accessed without an App review. Quote osCommerce user since 2003! Link to comment Share on other sites More sharing options...
Demitry Posted August 22, 2018 Share Posted August 22, 2018 @frankl I tried replicating everything you have and unchecked all permissions, but not attributes,.. and I'm still getting the same error. The https may be the cause of it. or it may be that this is on a subdomain. I tried it with https setting, but my subdomain is not https. And it did not work in changing that callback URI to https. So, I don't know,.. maybe it's just not meant to be. Quote osCommerce: made for programmers, ...because store owners do not want to be programmers. https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce Link to comment Share on other sites More sharing options...
Demitry Posted August 23, 2018 Share Posted August 23, 2018 @frankl could it be the API version? I updated it to the latest v3.1 what is your's set at? Quote osCommerce: made for programmers, ...because store owners do not want to be programmers. https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce Link to comment Share on other sites More sharing options...
frankl Posted August 23, 2018 Author Share Posted August 23, 2018 @Demitry I'm using 2.1 Quote osCommerce user since 2003! Link to comment Share on other sites More sharing options...
Demitry Posted August 23, 2018 Share Posted August 23, 2018 my lowest version for Upgrade All Calls is 2.7 and the other one is now only 3.1 I tried that 2.7, but no improvement, ..still getting the same error. I tested the validity of the redirect URI and that came back good. I don't know, ..I think I have to put it down and perhaps try it again when I have the site in production (off the sub-domain). Quote osCommerce: made for programmers, ...because store owners do not want to be programmers. https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce Link to comment Share on other sites More sharing options...
frankl Posted August 23, 2018 Author Share Posted August 23, 2018 When I have time I can look at it, but time is at a premium these days so it might be a while. Quote osCommerce user since 2003! Link to comment Share on other sites More sharing options...
Demitry Posted August 23, 2018 Share Posted August 23, 2018 @frankl Frank, Thanks man, but seems like I'm the only one having this issue. So, no need to waste time on it. Thank you for all your help. Quote osCommerce: made for programmers, ...because store owners do not want to be programmers. https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce Link to comment Share on other sites More sharing options...
roparo Posted February 7, 2019 Share Posted February 7, 2019 Hello, With the imminent Google+API shutdown will be "Social Login - Google Login" functionality working anymore ? Thanks, Robert Quote Link to comment Share on other sites More sharing options...
gummipingvin Posted February 26, 2019 Share Posted February 26, 2019 (edited) I have a smiliar problem same problem here with the OAuth not passing - I tried EVERYTHING - complete new app, changed everything, but no luck at all! It keeps saying the same error: weadress not included in this apps domain - but it doesn't matter, even I change everything to something "wrong" it gives me the same error I googled and I find that this error is pretty common for a variety of problems and typically linked to OAuth redirect URI... but tried it all Edited February 26, 2019 by gummipingvin Quote Link to comment Share on other sites More sharing options...
MrPhil Posted June 3, 2019 Share Posted June 3, 2019 Since Google+ has mostly gone away, should we be thinking about removing it from stores? I never used it, but my understanding is that it's only available for "G Suite", whatever that is. Do the Google+ functions on osC still do anything, or are they just an embarrassment that osC hasn't been updated in ages? If it should go away, I can add that to my Frozen patch set. It will be up to others to fix Edge and the official product. valquiria23 1 Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted June 3, 2019 Share Posted June 3, 2019 "While we’re sunsetting Google+ for consumers, we’re investing in Google+ for enterprise organizations. They can expect a new look and new features -- more information is available in our blog post. " Still alive and kicking for B2B Quote Link to comment Share on other sites More sharing options...
MrPhil Posted June 3, 2019 Share Posted June 3, 2019 Are the interface and logo unchanged, or is osC's implementation going to have to be completely redone, anyway? It sounds like the latter to me, but I guess it hasn't settled down yet. Quote Link to comment Share on other sites More sharing options...
milerwan Posted August 12, 2019 Share Posted August 12, 2019 In "ezsocial_success.php" file, at line 104, find this sentense : $messageStack->add_session('product_action', 'Welcome back ' . $ezsocial_first . '. Successfully logged in using ' . ucwords($ezsocial_type), 'success'); and replace by this one to have correct language display: $messageStack->add_session('product_action', sprintf(SOCIAL_LOGINS_LOGIN_SUCCESS, tep_output_string_protected($ezsocial_first), ucwords($ezsocial_type)), 'success'); tep_redirect(tep_href_link('index.php')); Quote Osc v2.3.4 BS "custom" PHP 7.3 compatible (710 modified files => o_O') Link to comment Share on other sites More sharing options...
milerwan Posted August 13, 2019 Share Posted August 13, 2019 @frankl During my tests, I can recover from Google or Facebook the "First Name" but the "Last name" is incomplete when it is a "compound name" (= with several words). For example : - First name "Diego" => "Diego" - Last name "de la Vegas" => "de" Maybe it will be the same if first name is also composed : - "Don Diego" => "Don" Do you meet the same problem? Quote Osc v2.3.4 BS "custom" PHP 7.3 compatible (710 modified files => o_O') Link to comment Share on other sites More sharing options...
milerwan Posted August 13, 2019 Share Posted August 13, 2019 (edited) @frankl During my tests, I can recover from Google or Facebook the "First Name" but the "Last name" is incomplete when it is a "compound name" (= with several words). For example : - First name "Diego" => "Diego" - Last name "de la Vegas" => "de" Maybe it will be the same if first name is also composed : - "Don Diego" => "Don" Do you meet the same problem? -------------------------------------------------------------------- Ok I have found how to fix it (and arrange the whole) :1. In "ezsocial_success.php" file, at line 169, find this : echo tep_draw_hidden_field('social_login', NULL, 'value=social_login'); echo tep_draw_hidden_field('ezsocial_type', NULL, 'value=' . $ezsocial_type); echo tep_draw_hidden_field('ezsocial_id', NULL, 'value=' . $ezsocial_id); and replace by this : echo tep_draw_hidden_field('social_login', 'social_login'); echo tep_draw_hidden_field('ezsocial_type', $ezsocial_type); echo tep_draw_hidden_field('ezsocial_id', $ezsocial_id); 2. At line 207, find this : if($firstname == 'Unknown') { echo tep_draw_input_field('firstname', NULL, 'required aria-required="true" id="inputFirstName" placeholder="' . ENTRY_FIRST_NAME_TEXT . '"'); echo FORM_REQUIRED_INPUT; } else { echo tep_draw_input_field('firstname', NULL, 'value=' . $firstname . ' required aria-required="true" id="inputFirstName"'); echo FORM_REQUIRED_INPUT; } And replace by this : if($firstname == 'Unknown') { echo tep_draw_input_field('firstname', NULL, 'required aria-required="true" id="inputFirstName" placeholder="' . ENTRY_FIRST_NAME_TEXT . '" maxlength="32"'); echo FORM_REQUIRED_INPUT; } else { echo tep_draw_input_field('firstname', $firstname, 'required aria-required="true" id="inputFirstName" maxlength="32"'); echo FORM_REQUIRED_INPUT; } 3. 2. At line 222, find this : if($lastname == 'Unknown') { echo tep_draw_input_field('lastname', NULL, 'required aria-required="true" id="inputLastName" placeholder="' . ENTRY_LAST_NAME_TEXT . '"'); echo FORM_REQUIRED_INPUT; } else { echo tep_draw_input_field('lastname', NULL, 'value=' . $lastname . ' required aria-required="true" id="inputLastName" placeholder="' . ENTRY_LAST_NAME_TEXT . '"'); echo FORM_REQUIRED_INPUT; } And replace by this : if($lastname == 'Unknown') { echo tep_draw_input_field('lastname', NULL, 'required aria-required="true" id="inputLastName" placeholder="' . ENTRY_LAST_NAME_TEXT . '" maxlength="32"'); echo FORM_REQUIRED_INPUT; } else { echo tep_draw_input_field('lastname', $lastname, 'required aria-required="true" id="inputLastName" maxlength="32"'); echo FORM_REQUIRED_INPUT; } 4. At line 252, find this : if($email_address == 'Unknown') { echo tep_draw_input_field('email_address', NULL, 'value=' . $email_address . ' required aria-required="true" id="inputEmail" placeholder="' . ENTRY_EMAIL_ADDRESS_TEXT . '"', 'email'); echo FORM_REQUIRED_INPUT; } else { echo tep_draw_hidden_field('email_address', NULL, 'value=' . $email_address . ' required aria-required="true" id="inputEmail" placeholder="' . ENTRY_EMAIL_ADDRESS_TEXT . '"', 'email'); echo $email_address; } And replace by this : if($email_address == 'Unknown') { echo tep_draw_input_field('email_address', NULL, 'required aria-required="true" id="inputEmail" placeholder="' . ENTRY_EMAIL_ADDRESS_TEXT . '" maxlength="96"', 'email'); echo FORM_REQUIRED_INPUT; } else { echo tep_draw_input_field('email_address', $email_address, 'required aria-required="true" id="inputEmail" maxlength="96" disabled', 'email'); } That's it for fix. Edited August 13, 2019 by milerwan valquiria23 1 Quote Osc v2.3.4 BS "custom" PHP 7.3 compatible (710 modified files => o_O') Link to comment Share on other sites More sharing options...
milerwan Posted August 13, 2019 Share Posted August 13, 2019 (edited) @frankl New Ezsocial for osC 2.3.4 BS v1.0b (ezsocial_for_edge_1.0b.rar" file) with : - "Welcome back" messageStack fixed for multi languages - Bug fix for "compound names" (addressed above) - Remodeling email field with "tep_draw_input_field" function with disabled parameter - New social buttons with BS css look (streamlined css, text-center, perfect alignment whatever the language used, hover darker) - Updated English and French languagesNB: If you find bugs, please report here. ezsocial_for_edge_1.0b.rar Edited August 13, 2019 by milerwan valquiria23 1 Quote Osc v2.3.4 BS "custom" PHP 7.3 compatible (710 modified files => o_O') Link to comment Share on other sites More sharing options...
gummipingvin Posted October 19, 2019 Share Posted October 19, 2019 On 8/13/2019 at 9:29 PM, milerwan said: @frankl New Ezsocial for osC 2.3.4 BS v1.0b (ezsocial_for_edge_1.0b.rar" file) with : - "Welcome back" messageStack fixed for multi languages - Bug fix for "compound names" (addressed above) - Remodeling email field with "tep_draw_input_field" function with disabled parameter - New social buttons with BS css look (streamlined css, text-center, perfect alignment whatever the language used, hover darker) - Updated English and French languagesNB: If you find bugs, please report here. ezsocial_for_edge_1.0b.rar Have you tested API versions with this module? I use an older version where I have this setting: // init app with app id and secret $fb = new Facebook\Facebook([ 'app_id' => 'XXXXXXXXXXXX', 'app_secret' => 'XXXXXXXXXXXX', 'default_graph_version' => 'v2.12', ]); But when I change default_graph_version to anything higher than 2.12 (3.XX) then it doesnt work - just says unknown opengraph error Quote Link to comment Share on other sites More sharing options...
milerwan Posted October 19, 2019 Share Posted October 19, 2019 2 hours ago, gummipingvin said: Have you tested API versions with this module? I use an older version where I have this setting: // init app with app id and secret $fb = new Facebook\Facebook([ 'app_id' => 'XXXXXXXXXXXX', 'app_secret' => 'XXXXXXXXXXXX', 'default_graph_version' => 'v2.12', ]); But when I change default_graph_version to anything higher than 2.12 (3.XX) then it doesnt work - just says unknown opengraph error I have tested with Facebook and Google and it works. Maybe you need to update your account from Facebook's developers website : https://developers.facebook.com/ Quote Osc v2.3.4 BS "custom" PHP 7.3 compatible (710 modified files => o_O') Link to comment Share on other sites More sharing options...
MountainMan Posted June 29, 2020 Share Posted June 29, 2020 Hi there, Is this still an active and recommended addon? Am testing an initial install. Using Google to login, it throws me back to my website an my error handler, showing me a 403 error. Dont even know where to start with that.... BTW, the Google account I am using contains an email address that should flag me as a new customer to my osC shop. I am assuming this addon can handle that...right? Quote Link to comment Share on other sites More sharing options...
MountainMan Posted July 25, 2020 Share Posted July 25, 2020 Got this error trying to login into Facebook: Facebook has detected xxxxx isn't using a secure connection to transfer information. Solution seems to be add SSL osc style to line 22 in login_with_facebook.php. $ezsocial_uri = tep_href_link('login_with_facebook.php', '', 'SSL'); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.