Yii2 creates a new user account using unforgettable api and facebook login logins

I would like to use rest api to register new users. The trick is that I would like to use the Facebook SDK / API for this. My interface is Angual.js / Ionic. Any suggestions?

+4
source share
1 answer

In this case, REST is not magic. Create as you would if it weren’t for rest. How I would like:

  • Log in with Yii2 AuthClient
  • , , Facebook, - (3)
  • FB (2), UserController/actionCreate ,
+2

Source: https://habr.com/ru/post/1609157/


All Articles