Answer the question
In order to leave comments, you need to log in
How to fix open api vk?
I'm testing oauth vk.
There is a back on the node, the implementation of oauth via passportjs with the strategy passport-vkontakte.
new AuthVKStrategy(
{
clientID: config.get("auth:vk:app_id"),
clientSecret: config.get("auth:vk:secret"),
callbackURL: "http://localhost:8023/auth/vk/callback"
},
{"error":"invalid_request","error_description":"redirect_uri is incorrect, check application redirect uri in the settings page"}
Answer the question
In order to leave comments, you need to log in
Probably because localhost:8023 and localhost are not the same, but this is not certain.
there may also be a standalone application with open api turned off
and in the end you can try passing an empty redirect_uri
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question