F
F
FullWipe2014-05-04 19:34:40
PHP
FullWipe, 2014-05-04 19:34:40

How to access the site through VK ID?

There is a site that has a main page with the "Login" button, and the rest of the content is blocked, when you click on the button, it is prompted to log in using VK, then if it successfully logged in, it checks if its ID is in the database, and if so, it is successful gets to the site.
What technology is used to implement this?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Vasiliev, 2014-05-05
@FullWipe

The term "authorization" means granting access (for example, to a user to content, or an application to user data or api functions).
The term "authentication" (authentication) means confirmation of identity (for example, a user, or an application, or a site).
Vkontakte can authenticate your site using a secret key.
Vkontakte can authenticate the user by his login and password.
The user can authorize your site to access his data, at his own discretion and paranoia.
Your site can authenticate the user based on the contact details.
Your site can authorize the user to view the content, according to your logic.
The first three points are made using the OAuth protocol described in the VKontakte documentation.
If you don't understand, you don't need a toaster, but a freelance.

K
Konstantin Dovnar, 2014-05-04
@SolidlSnake

*cry*

A
Alexey Kuleshov, 2014-05-20
@GingerbreadMSK

1. Habrahabr / Authorization via VKontakte
2. VKontakte / Authorization based on OAuth 2.0
3. VKontakte / Authorization via Open API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question