Home Forums WoodMart support forum Authorization via vk

Authorization via vk

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #466633

    Sublife
    Participant

    Authorization 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’); //Сервисный ключ доступа (выдает ВК)

    #466636

    Sublife
    Participant

    <?php
    if (!empty($_GET[‘code’])) {
    $params = array(
    ‘client_id’ => ‘ID приложения’,
    ‘client_secret’ => ‘Защищённый ключ’,
    ‘redirect_uri’ => ‘https://example.com/oauth-vk.php&#8217;,
    ‘code’ => $_GET[‘code’]
    );

    #467128

    Hello,

    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

    #467227

    Sublife
    Participant

    Everything is set up correctly, please see my files.
    https://monosnap.com/file/ktPXK4LEaQ5ga5O9VWur5lrnIkTXun

    Attachments:
    You must be logged in to view attached files.
    #467493

    Hello,

    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

    #467558

    Sublife
    Participant

    Login information provided

    #468011

    Hello,

    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

    #468047

    Sublife
    Participant

    I 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.
    #468058

    Sublife
    Participant

    I 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!

    #468185

    Hello,

    We have not deleted any plugins and never do that.

    The plugin was deleted before I entered.

    Best Regards

    #468223

    Sublife
    Participant

    I 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.

    #468445

    Sublife
    Participant

    I take it you can’t fix the problem? If this is not in your power, please redirect to another person

    #469347

    Hello,

    Sorry for the delay. We cannot access the site: https://monosnap.com/file/6rLyJp1Qr1N7aYRidsSvRFLDU25IrF

    Please check the credentials and provide valid access.

    Best Regards

Viewing 13 posts - 1 through 13 (of 13 total)