• Yii2, login with Facebook, quick start guide

    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 18, 2019     53     3477     Egor         Yii Framework 2, yii2, Facebook    


Is it possible that software is not like anything else, that it is meant to be discarded: that the whole point is to always see it as a soap bubble?

Alan J. Perlis