Facebook Login using Restful API in Yii2

I have added the codes of facebook authentication in my login controller with the help of this link. When I tried to call the controller action in postman facebook login popup is coming .
My questions are…

  • How to disable the facebook login popup.
  • How to pass the email and password in the url (/auth?authclient=facebook&email=test@gmail.com&password=********).

That is OAuth so there will be logging it to Facebook involved. You can’t avoid it without switching to another authentication method.

Email and password aren’t involved in the process. You should not and can not pass them.