Home › Forums › Space themes support forum › Social Authenticators not working
Social Authenticators not working
- This topic has 11 replies, 2 voices, and was last updated 7 months, 2 weeks ago by Luke Nielsen.
-
AuthorPosts
-
March 22, 2024 at 4:50 am #551273
kashanshahParticipantHello, I’ve setup both google and facebook login apps, however, an error page occurs when someone tries to log in with google or facebook. Screenshot attached.
No plugin, other than the required ones by the theme, are activated!
Attachments:
You must be logged in to view attached files.March 23, 2024 at 3:03 am #551573
kashanshahParticipantIs there anything else you need to debug?
March 26, 2024 at 11:06 am #552245
Luke NielsenKeymasterHello,
Please send the FTP access to debug the issue.
Thank you in advance.
Kind Regards
March 26, 2024 at 11:46 am #552271
kashanshahParticipantPlease find ftp credentials below.
March 27, 2024 at 10:04 am #552589
Luke NielsenKeymasterHello,
Sorry, but the FTP access that you sent is related to another website. Could you please update it?
Thank you in advance.
Kind Regards
March 28, 2024 at 4:23 am #552913
kashanshahParticipantHi Luke,
Thanks for being careful, but irrespective of the hostname, these credentials have rights only to our website, which is http://www.kazomo.com .
Let me know if that helps.
- This reply was modified 8 months ago by kashanshah. Reason: repalcing compressed image of screenshot
Attachments:
You must be logged in to view attached files.March 28, 2024 at 5:34 pm #553146
Luke NielsenKeymasterHello,
Neither themes nor plugins on this site match, so we can conclude that the FTP is linked to another website.
Screenshots: https://prnt.sc/L6IiQjy82sYc , https://prnt.sc/6QL46VkvW3hJ , https://prnt.sc/i1srvA_jxrnD
Kind Regards
March 29, 2024 at 5:17 pm #553428
Luke NielsenKeymasterHello,
Try to edit the file
wp-content/plugins/xts-theme-core/wc-social-authentication/class-wc-social-authentication.php
and replace this line
$opauth = new Opauth( $this->get_config( $response['auth']['provider'] ), false );
with this one
$opauth = new Opauth( $this->get_config( strtolower( $response['auth']['provider'] ) ), false );
And then enable the alt login: https://prnt.sc/NENkXAsGs1ed
Kind Regards
April 8, 2024 at 3:22 am #555561
kashanshahParticipantHi Luke, thanks for sharing the snippet. I tried doing, but it still doesn’t work.
Attachments:
You must be logged in to view attached files.April 8, 2024 at 2:18 pm #555680
Luke NielsenKeymasterHello,
Your Facebook application is not active, check what Facebook shows you: https://prnt.sc/DRDfC40Ou-Ht
The Google login is not working because the AppId and AppSecret you defined are the same, it’s impossible. Look at our documentation again and pay attention to it. When creating the Google auth you should see Client Id, Client Secret: https://prnt.sc/SfYcFUN7EMjb
Kind Regards
April 8, 2024 at 6:13 pm #555767
kashanshahParticipantThanks, after updating the AppSecret and the code snippet you provided, it worked like a charm. Thanks.
April 9, 2024 at 4:45 pm #556089
Luke NielsenKeymasterHello,
You are welcome! In case you need any additional help, I’d be more than happy to assist you.
Wish you all the best.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register