# Social Integration: VK. Need API Update

**URL:** <https://community.auth0.com/t/social-integration-vk-need-api-update/43912>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [June 1, 2020, 4:30pm UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912 "2020-06-01T16:30:31Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexanderdomrachev](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexanderdomrachev/32/21669_2.png) [@alexanderdomrachev](https://community.auth0.com/u/alexanderdomrachev)\
**Post date:** [June 1, 2020, 4:30pm UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912/1 "2020-06-01T16:30:31Z")

</div>

VK Error on the TRY page: [https://manage.auth0.com/dashboard/eu/dev-dsparfum/connections/social](https://manage.auth0.com/dashboard/eu/dev-dsparfum/connections/social)

```auto
{
  "error": "invalid_request",
  "error_description": "Invalid request: versions below 5.21 are deprecated. Version param should be passed as \"v\". \"version\" param is invalid and not supported. For more information go to https://vk.com/dev/version_update_2.0"
}

```

---

<div class="post-metadata">

**Author:** ![alexzaitzev](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexzaitzev/32/21726_2.png) [@alexzaitzev](https://community.auth0.com/u/alexzaitzev)\
**Post date:** [June 4, 2020, 12:13am UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912/2 "2020-06-04T00:13:43Z")

</div>

> From 1 June 2020, versions **5.20** and lower will be outdated.

Looks like auth0 uses lower version. Can someone from admins say when do they plan to fix this social integration, because now users can’t authenticate within vk?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 4, 2020, 10:54am UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912/3 "2020-06-04T10:54:25Z")

</div>

Hey there!

Let me dig into that and update you once I have more information on that front!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 5, 2020, 7:22am UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912/5 "2020-06-05T07:22:27Z")

</div>

Little update.

I raised an internal ticket for that for our engineering teams. Once I have the response from them I’ll share it with you!

---

<div class="post-metadata">

**Author:** ![karen1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/karen1/32/18279_2.png) [@karen1](https://community.auth0.com/u/karen1)\
**Post date:** [June 5, 2020, 2:01pm UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912/6 "2020-06-05T14:01:37Z")

</div>

Good morning,

Our engineering team is working to fix this. However, we have found a workaround for you which will help you fix it for now:

You can get the connection using the management API:  
https://{your\_auth0\_domain}/api/v2/connections/con\_ID

Once you get the connection you can patch this connection with the supported API version, Example:

PATCH https://{auth0\_domain}/api/v2/connections/con\_ID

```
{
    "options": {
        "wall": false,
        "notes": false,
        "pages": false,
        "scope": [
            "profile"
        ],
        "video": false,
        "photos": false,
        "friends": false,
        "profile": true,
        "client_id": ""Sample"",
        "client_secret": ""Sample"",
        "apiVersion":"5.107"
    },
    "is_domain_connection": false,
    "enabled_clients": [
        "Sample"
    ]
}

```

This will update your API version, Once engineering provides a fix you can remove this field.

---

<div class="post-metadata">

**Author:** ![alexzaitzev](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexzaitzev/32/21726_2.png) [@alexzaitzev](https://community.auth0.com/u/alexzaitzev)\
**Post date:** [June 6, 2020, 3:28pm UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912/7 "2020-06-06T15:28:05Z")

</div>

@karen1 thanks for providing a workaround, but unfortunately I can’t follow it:

1. When I was trying to get connection via your [API explorer](https://auth0.com/docs/api/management/v2/#!/Connections/get_connections_by_id) I got 401

> {  
> “statusCode”:401,  
> “error”:“Unauthorized”,  
> “message”:“Missing authentication”  
> }

1. When I was trying to obtian an [Access Token](https://auth0.com/docs/api/management/v2/get-access-tokens-for-production) I got 403

> {  
> “error”:“unauthorized\_client”,  
> “error\_description”:“Grant type ‘client\_credentials’ not allowed for the client.”,  
> “error\_uri”:“[Application Grant Types](https://auth0.com/docs/clients/client-grant-types)”  
> }

1. When I was trying to turn on `client_credentials` in Application settings I was told to set a Token Endpoint Auth Method other than “none”  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/b/6/b67d61f5751b53dc47c8fbb219eafeaa349d3311.png)

2. Token Endpoint Authentication Method field is greyed and can’t be changed.  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/c/9c33940ef4bd2f6514e61075c552515263c8053f.png)

My question is: What I am doing wrong and how I can make my connection work again?

Thanks.

---

<div class="post-metadata">

**Author:** ![alexanderdomrachev](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexanderdomrachev/32/21669_2.png) [@alexanderdomrachev](https://community.auth0.com/u/alexanderdomrachev)\
**Post date:** [June 6, 2020, 4:49pm UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912/8 "2020-06-06T16:49:07Z")

</div>

@alexzaitzev Fixed.  
@karen1 @konrad.sopala Thank you, guys

---

<div class="post-metadata">

**Author:** ![alexzaitzev](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexzaitzev/32/21726_2.png) [@alexzaitzev](https://community.auth0.com/u/alexzaitzev)\
**Post date:** [June 6, 2020, 6:36pm UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912/9 "2020-06-06T18:36:33Z")

</div>

@alexanderdomrachev great to hear that it works for you!

I am still receiving error while authenticating. Workaround also is not an option because of the reason I wrote in my prev message.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 8, 2020, 10:33am UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912/10 "2020-06-08T10:33:38Z")

</div>

Understand that. We’ll let you know once the fix is there then!

---

<div class="post-metadata">

**Author:** ![alexzaitzev](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexzaitzev/32/21726_2.png) [@alexzaitzev](https://community.auth0.com/u/alexzaitzev)\
**Post date:** [June 13, 2020, 9:04pm UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912/11 "2020-06-13T21:04:11Z")

</div>

Looks like problem is fixed.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 15, 2020, 7:56am UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912/12 "2020-06-15T07:56:52Z")

</div>

Perfect! Super glad to hear that!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 30, 2020, 7:56am UTC](https://community.auth0.com/t/social-integration-vk-need-api-update/43912/13 "2020-06-30T07:56:52Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
