Home › Forums › WoodMart support forum › Google and Facebook Login Error after Woodmart update
Google and Facebook Login Error after Woodmart update
- This topic has 16 replies, 5 voices, and was last updated 1 year, 8 months ago by grafiman.
-
AuthorPosts
-
April 7, 2022 at 5:12 am #366750
robertpurnomoParticipantGoogle and Facebook login was working until I update Woodmart. There are 3 type of errors:
1) PC Chrome Incognito Mode, when click login with FB, we got “Error Accessing App We’re sorry, but the application you’re trying to use doesn’t exist or has been disabled.”
2) On Android Chrome Incognito Mode, FB login result in Error 502 Bad Gateway
3) On Android Chrome Incognito Mode, Google login result in Error 502 Bad Gateway
Attached are screenshot for your reference. We use Bitnami NGINX WordPress on AWS EC2.
Please let us know if you need admin access login & password to our website, AWS, Google Dev and Facebook Dev.
Thank you for yoru kind attention.
Sincerely,
RobertAttachments:
You must be logged in to view attached files.April 7, 2022 at 5:53 am #366754
robertpurnomoParticipantWe have same social login error in the past and we notice the issue is with / and ?
https://healthfullcare.com/my-account?opauth=XXXXXXXXXX
https://healthfullcare.com/my-account/?opauth=XXXXXXXXXXSo on Authorized redirect URIs and valide Valid OAuth Redirect URIs, we add as many possibility as possible and it was working. But now after updates, they don’t work again.
https://healthfullcare.com/my-account/google/oauth2callback
https://healthfullcare.com/zh-hant/my-account/google/oauth2callback
https://healthfullcare.com/my-account?google/oauth2callback
https://healthfullcare.com/zh-hant/my-account?google/oauth2callback
https://healthfullcare.com/my-account/?google/oauth2callback
https://healthfullcare.com/zh-hant/my-account/?google/oauth2callbackApril 7, 2022 at 6:17 am #366770
Artem TemosKeymasterHello,
We just tested the Google login on your website and were able to log in without errors. Here is a screenshot https://gyazo.com/49be0bcedeede451eb13fac85deb9b8e
Could you please clarify how to reproduce the problem?Kind Regards
April 7, 2022 at 7:21 am #366783
robertpurnomoParticipantHi Artem Temos,
Thank you for your reply. Attached are screenshot of 3 errors
1) Fabecook Error Accessing App
2) Facebook login Error 502 / Bad Gateway
3) Google login Error 502 / Bad GatewayBelow are URL of 3 errors
Thank you for your kind attention.
Sincerely,
RobertAttachments:
You must be logged in to view attached files.April 7, 2022 at 7:38 am #366787
robertpurnomoParticipantHi Artem Temos,
Here is screenshot of Google and Facebook Login 502 Error.
FYI, we have same social login 502 error issue before and we hire Fiverr freelancer. He said the previous errors are caused by below:
1) https://healthfullcare.com/my-account/?opauth=
the problem is with slash ( / )2) no slash = error 502
3) with slash = OK
4) It’s php code. i tried already from nginx block but failed. and it’s better to check the code from the theme
5) tell them to ask theme developer
6) https://healthfullcare.com/my-account?opauth=XXXXXXXXXX
https://healthfullcare.com/my-account/?opauth=XXXXXXXXXX
7) make the redirection like this
8) a single slash
Yours sincerely,
RobertAttachments:
You must be logged in to view attached files.April 7, 2022 at 8:42 am #366800
robertpurnomoParticipantHi Artem Temos,
We have fixed “Error Accessing App” issue in Facebook Social Login. We just delete the old Facebook login apps and create a new one on Meta for Developers.
for Valid OAuth Redirect URIs, we add below but still getting 502 error
https://healthfullcare.com/my-account/
https://healthfullcare.com/zh-hant/my-account/facebook/int_callback
https://healthfullcare.com/my-account/?facebook/int_callback
https://healthfullcare.com/zh-hant/my-account/?facebook/int_callback
https://healthfullcare.com/my-account?facebook/int_callback
https://healthfullcare.com/zh-hant/my-account?facebook/int_callback
Hope you can help fixed 502 error issue on Facebook and Google login.
Yours sincerely,
RobertAttachments:
You must be logged in to view attached files.April 7, 2022 at 9:49 am #366812
robertpurnomoParticipantHi Xtemos support team,
We really need this social login issue fixed ASAP. We don’t mind to pay a bit fee for fixing this issue. If there is fee to fix this social login issue, please just let us know how much and how to pay. We’re waiting for your reply. Thank you very much.
Note: the social login error is Error 502 Bad Gateway (Cloudflare). If we stop Cloudflare CDN will this solve the social login error 502 bad gateway issue?
Yours sincerely,
RobertApril 7, 2022 at 11:04 am #366827
Artem TemosKeymasterHello,
The Facebook error seems to be different and it is thrown by Facebook itself. It says that something is wrong with your APP, not with the website.
As for the 502 error, it seems to be generated by your server. Maybe it blocks the request when you are redirected from the social platform back to your website.Kind Regards
April 8, 2022 at 2:27 am #366918
robertpurnomoParticipantHi Artem Temos,
Thanks for your reply. Both Facebook and Google Social Login results in Error 502 Bad Gateway.
You mentioned “502 error, it seems to be generated by your server. Maybe it blocks the request when you are redirected from the social platform back to your website.”
Can you show me how to solve above issue? and also if you have other easier solutions? Sorry and thanks for your kind help. I appreciate your help.
Yours sincerely,
RobertApril 8, 2022 at 6:04 am #366931
Artem TemosKeymaster502 is a generic error generated by the server. We don’t know exactly how to solve it. You need to check server logs or consult with your hosting provider on this matter.
Kind Regards
July 12, 2022 at 9:00 pm #390567
burakParticipantI have same problem with google. Did you solve the problem with google ?
July 12, 2022 at 9:01 pm #390568
burakParticipantI have same problem with google. Did you solve the problem with google ?
edit: https://healthfullcare.com/my-account/?opauth=xxxxx
it’s ok now. how did you fix this ?
July 13, 2022 at 5:16 am #390612
robertpurnomoParticipantYes, I finally solve the issue. Cloudflare CDN and caching was causing Woodmart Google and Facebook login to not work.
After I disable Cloudflare CDN and caching, no more 502 error on Woodmart Google and Facebook login
November 21, 2022 at 4:12 am #422369
bhare1985ParticipantHello, I just came across the same issue where Google Login doesnt work.
https://website.com/account?opauth=YTozOntzOjQ6Im fails
but
https://website.com/account/?opauth=YTozOntzOjQ6Im worksWhat was the solution ?
November 21, 2022 at 5:40 am #422375
bhare1985ParticipantIt seems the callback_url being given to the OAuth classes uses “account” when it should be “account/”, rather than modify woodmart core until this bug of theirs is fixed I was able to add this to my nginx rules and it works without having to turn off cloudflare:
rewrite ^/account$ https://$host$uri/ permanent;
November 21, 2022 at 7:30 am #422392
bhare1985ParticipantWelp it’s breaking again despite it using an ending slash. What is more weird is that it only breaks for certain logins, so its intermittent and makes sense why woodmart support wasn’t able to reproduce it. It seems the common issue is cloudflare but it could be caching in general. What’s confusing is that no errors show up in the php log
March 22, 2023 at 9:56 pm #453478
grafimanParticipantSOLUTION
The source of the problem is on NGINX: upstream sent too big header while reading response header from upstreamSolution is: Add this additional nginx directives:
fastcgi_buffers 16 16k; fastcgi_buffer_size 32k; proxy_buffer_size 128k; proxy_buffers 4 256k; proxy_busy_buffers_size 256k;
(Tested on plesk panel)
-
AuthorPosts
Tagged: Facebook login, google login, Social login
- You must be logged in to create new topics. Login / Register