Home › Forums › WoodMart support forum › Authorization via vk
Authorization via vk
- This topic has 12 replies, 2 voices, and was last updated 1 year, 11 months ago by
Elise Noromit.
-
AuthorPosts
-
May 13, 2023 at 11:36 am #466633
SublifeParticipantAuthorization via vk does not work. It seems to me that the parameter is missing: Service access key or Protected key. help me please
define(‘APP_ID’, ‘1234’); //ID приложения (выдает ВК)
define(‘APP_SECRET’, ‘aaabbbccc’); //Защищённый ключ (выдает ВК)
define(‘APP_SERVICE_KEY’, ‘aaabbbccc’); //Сервисный ключ доступа (выдает ВК)May 13, 2023 at 11:37 am #466636
SublifeParticipant<?php
if (!empty($_GET[‘code’])) {
$params = array(
‘client_id’ => ‘ID приложения’,
‘client_secret’ => ‘Защищённый ключ’,
‘redirect_uri’ => ‘https://example.com/oauth-vk.php’,
‘code’ => $_GET[‘code’]
);May 16, 2023 at 1:35 am #467128
Elise NoromitMemberHello,
Please remove the customization and configure VK authorization in the Theme Settings > API integration: https://monosnap.com/file/FygYuxsjqLfRMR7Obvu8K2NKZCe5vn
If you have any questions please feel free to contact us.
Best Regards
May 16, 2023 at 9:45 am #467227
SublifeParticipantEverything is set up correctly, please see my files.
https://monosnap.com/file/ktPXK4LEaQ5ga5O9VWur5lrnIkTXunAttachments:
You must be logged in to view attached files.May 17, 2023 at 2:10 am #467493
Elise NoromitMemberHello,
Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.
Best Regards
May 17, 2023 at 9:25 am #467558
SublifeParticipantLogin information provided
May 18, 2023 at 1:02 pm #468011
Elise NoromitMemberHello,
Please find this file: woodmart-core/inc/auth.php and line 71, then replace this code:
if ( empty( $response['auth'] ) || empty( $response['timestamp'] ) || empty( $response['signature'] ) || empty( $response['auth']['provider'] ) || empty( $response['auth']['uid'] ) ) {
for this one:
if ( empty( $response['auth'] ) || empty( $response['timestamp'] ) || empty( $response['signature'] ) || empty( $response['auth']['provider'] ) ) {
Please check how it works and let us know if the problem remains.
Best Regards
May 18, 2023 at 2:41 pm #468047
SublifeParticipantI did everything. Writes an error: Can’t login with VKontakte. Please, try again later.
And my second question, why did you remove the cache plugin for us? (Watch app)Attachments:
You must be logged in to view attached files.May 18, 2023 at 3:04 pm #468058
SublifeParticipantI am closing access to the site for you, since you removed the plugin without permission and did not even write about it. This is not professional!
May 19, 2023 at 3:16 am #468185
Elise NoromitMemberHello,
We have not deleted any plugins and never do that.
The plugin was deleted before I entered.
Best Regards
May 19, 2023 at 9:29 am #468223
SublifeParticipantI make an account especially for you with a unique password that I provide exclusively to you. And I ask you not to deceive, it is better to solve the problem with the topic.
May 20, 2023 at 9:27 am #468445
SublifeParticipantI take it you can’t fix the problem? If this is not in your power, please redirect to another person
May 24, 2023 at 1:53 am #469347
Elise NoromitMemberHello,
Sorry for the delay. We cannot access the site: https://monosnap.com/file/6rLyJp1Qr1N7aYRidsSvRFLDU25IrF
Please check the credentials and provide valid access.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register