Skip to content

VK authentication doesn't work #6936

@chikchik

Description

@chikchik

New Issue Checklist

Issue Description

VK authentication doesn't work properly, because in source code used deprecated version of api (v5.8).
https://github.com/parse-community/parse-server/blob/master/src/Adapters/Auth/vkontakte.js: 14

On this page description of actual versions of api (strongly recommended v5.124)
https://vk.com/dev/constant_version_updates

It is a critical bug! Because I need to use VK auth on back4app, but I can't/.

Steps to reproduce

No need to reproduce, just need to fix version of api in requests.

Actual Outcome

user_id and access_token are always valid.
Respose always returned 'Vk auth is invalid for this user.'

Expected Outcome

Authentication without error.

Environment

Server

  • Parse Server version: 3.10.0
  • Operating system: Windows 10
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): back4app

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: N/A
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): MongoDB

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): Unity via rest api
  • SDK version:

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions