Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VK Oauth: Security Error

I'm trying to authorize my standalone application. But after I click "Allow" it always redirects to http://oauth.vk.com/error?err=2 and gives this as response body:

{"error":"invalid_request", "error_description":"Security Error"}

Here's the request URL (I do have correct client_id):

https://oauth.vk.com/authorize?client_id=...&scope=messages,offline&redirect_uri=https://oauth.vk.com/blank.html&display=page&v=5.37&response_type=token

It seems that I've tried everything:

  • Turning application on and off
  • Passing scope as bit mask
  • URI encoding some parameters to have correct URL
  • and so on
like image 695
sigod Avatar asked Sep 13 '15 21:09

sigod


1 Answers

After hour of searches I've found this.

So, it means that user has an old session and must re-login in browser.

like image 89
sigod Avatar answered Oct 24 '22 06:10

sigod