List of posts tagged: Facebook

Yii2, login with Facebook, quick start guide

Before we begin, let us see once more what authentication and authorization are, because many people confuse these concepts (and I am not an exception).

Authentication - confirmation of the authenticity of something or someone for that or whom he is trying to give himself away, with the help of some unique information, in our case - with a login and password.

Authorization is the verification and determination of the authority to perform certain actions (for example, viewing data) in accordance with the previously performed authentication.

Facebook will authenticate the user and then the site will authorize or register (if necessary) the user according to data from Facebook.

Thus, we will simplify the user to enter the site instead of entering the username and password it will be enough to press one button - "login with Facebook".

March 17, 2019 66 Yehor Rykhnov Facebook