A
A
aiband2015-05-11 12:57:27
JavaScript
aiband, 2015-05-11 12:57:27

How vk api client authorization works?

Hello. In general, asking such questions on forums, etc. alien to me, but now I don’t even know how to ask this question to Google. How does user authorization work when working with vk api? I understand that the question is very generalized, but I stupidly do not know how else to ask it. I don’t understand the very principle of how VK authorizes a user on someone else’s site so that another site can somehow operate with the user’s information. I'm talking about client authorization .. although I don’t really understand server authorization either ... just now I decided to play around with these apis in javascript. Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2015-05-11
@aiband

 Reading about OAuth2

M
marble, 2015-05-11
_

I don’t understand the very principle of how VK authorizes a user on someone else’s site so that another site can somehow operate with the user’s information.

Let's take a login as an example. When registering on the site, the VK service gives personal data and a unique identifier, authorization also occurs through it. you request a login from VK, a bunch of routes, and everything arrives in the login widget on the site, which already processes it in its own way. something like this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question