Answer the question
In order to leave comments, you need to log in
How to make authorization in yii2 using vk api?
I have a site on yii2 with authorization and registration. That's when I click on the "Login with the help of VK" button, I need to log in with VKontakte, and instead of logging in and registering, a Personal Account will appear. How can I implement this?? Can you explain in more detail what models, controllers to create for authorization through VK and what to put on the vug in the "Login with VK" button ?? So far I have standard authorization and registration is on yii2 advanced
Answer the question
In order to leave comments, you need to log in
option 1 - use ready-made modules, for example https://github.com/dektrium/yii2-user
option 2 - write your own authorization system using standard methods - https://www.yiiframework.com/extension/yiisoft/yii. ..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question