Home › Forums › WoodMart support forum › Access blocked: This app’s request is invalid
Access blocked: This app’s request is invalid
- This topic has 21 replies, 2 voices, and was last updated 1 year, 8 months ago by Artem Temos.
-
AuthorPosts
-
January 18, 2023 at 5:45 pm #436111
janisParticipantHello. Im getting this error when i try using woodmart built in socila login https://i.imgur.com/aXJIT4t.png
Google says that its third-party apps folt https://i.imgur.com/skqKaaB.png , i guess thats counts as you
Do you know what could be the problem?January 18, 2023 at 6:03 pm #436117
Artem TemosKeymasterHello,
Thank you so much for purchasing our theme and contacting our support center.
It looks like you set the wrong redirect URL in your Google APP’s configuration. Check the step #3 in our documentation https://xtemos.com/docs-topic/how-to-configure-google-login/
Kind Regards
XTemos StudioJanuary 18, 2023 at 6:26 pm #436131
janisParticipanthttps://i.imgur.com/9x6kPRS.png
https://i.imgur.com/rEDhO97.png
Seems to be corrcetJanuary 18, 2023 at 6:49 pm #436137
Artem TemosKeymasterWe don’t see the Google login button on your website now. Have you turned it off?
January 18, 2023 at 7:01 pm #436144
janisParticipantYeah. I enabled it now
January 18, 2023 at 7:20 pm #436149
janisParticipantIts a live site, so i shouldnt keep it enabled. Maybe i can give yo uaccess and you can take a look?
January 18, 2023 at 7:24 pm #436150
janisParticipantHere
January 18, 2023 at 10:45 pm #436191
Artem TemosKeymasterHello,
We need your Google access so we can check your APP’s configuration to see what is wrong there.
Kind Regards
January 19, 2023 at 11:05 am #436286
janisParticipantHello. Can i add you as a admin or something?
I have 2 step auth for google. You wont be able to get inJanuary 19, 2023 at 1:24 pm #436314
janisParticipanti removed 2 step auth
January 19, 2023 at 4:08 pm #436383
Artem TemosKeymasterHello,
We just tried to disable external plugins and the child theme and it works well for us https://monosnap.com/file/kSrNxAF6IpK34np2qX6Gf2mU1EPsBf
Please, check it from your end too.Kind Regards
January 19, 2023 at 5:17 pm #436422
janisParticipantYou mean you used the app id and secret i have you disabled plugins theme and then it worked?
January 19, 2023 at 9:37 pm #436478
Artem TemosKeymasterYes, it worked and we were able to login with Google as shown on the screenshot https://monosnap.com/file/kSrNxAF6IpK34np2qX6Gf2mU1EPsBf
January 20, 2023 at 12:04 pm #436600
janisParticipantDosnt work with disabled plugins and child theme (only left woocommerce) . I have a test site, its not good to disable all plugins and change theme on a live site.
I use this aouth. https://i.imgur.com/3B4E4lV.png
I tested it out with post smt and it works, so its not aouth problem itself it looks like. https://i.imgur.com/pRb0Z1f.pngJanuary 20, 2023 at 12:19 pm #436602
janisParticipantIt seems to be a problem with polylang. When i activate polylang the callback url changes. I added the both urls to aoth, but still only works when polylang disabled
January 20, 2023 at 1:16 pm #436618
Artem TemosKeymasterYes, the problem is with the URL mismatch. You need to make sure that the URL is not modified by any of the installed plugins.
January 20, 2023 at 3:10 pm #436643
janisParticipantWhere does woodmart take the url from? The domain dosnt have /en/ in it, when polylang is enabled
January 21, 2023 at 5:30 pm #436889
Artem TemosKeymasterOur theme takes the URL with a core WooCommerce function
wc_get_page_permalink( ‘myaccount’ )
. So maybe this plugin somehow customizes it but doesn’t work with the social login function.February 8, 2023 at 7:51 pm #441484
janisParticipantI think your theme has some conflict with polylang.
Just tried adding social login with Nextend Social Login and it works.
How can i add nextend shortcode in the my account popup and also in login page?
https://i.imgur.com/ttV1WsO.png
https://i.imgur.com/3hseWaM.pngFebruary 9, 2023 at 10:20 am #441607
Artem TemosKeymasterHello,
You can try to add your custom code to the
woodmart_login_form
PHP function in the fileinc/integrations/woocommerce/template-tags.php
Kind Regards
February 9, 2023 at 7:11 pm #441847
janisParticipantHow could i do it trough child theme? I copied the path and the template-tags.php in child theme, but the changes dont seem to work
February 10, 2023 at 10:13 am #441963
Artem TemosKeymasterYou can’t copy the whole file to the child theme. You need to take the PHP function
woodmart_login_form
and put it into the functions.php file in the child theme. Then you can add your custom code there. -
AuthorPosts
Tagged: Social login
- You must be logged in to create new topics. Login / Register