Answer the question
In order to leave comments, you need to log in
OAuth authorization in vk.com using JS?
Hello. I can't figure out how to make authorization via OAuth for the site more convenient. The authorization algorithm itself is as follows: the user clicks on the link -> an authorization confirmation window opens -> if the user has confirmed authorization, a window opens with an access_token in the URL. In the last paragraph, the whole snag. How to wrap it all up so that the user only needs authorization, without dancing with copying the token? Please do not advise OpenAPI, OAuth authorization is needed.
PS A similar one is implemented here (on the right).
Answer the question
In order to leave comments, you need to log in
No way.
OAuth is used by VKontakte to authorize desktop / mobile applications (there you can intercept the token).
Websites use Open API. Which api methods are quite enough.
Using the OAuth/Open API for other purposes is punishable by an application ban (read the rules on the site).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question