Home > Software design >  Is it possible to login in to another website with a php button?
Is it possible to login in to another website with a php button?

Time:11-27

I am trying to make this function in laravel jetstream projecet that I need to login to another website (ex. Facebook, Twitter) using the credentials (ex. email, password) of my logged-in or authenticated user. I am thinking on specifying the url in the , but I am not sure on how to get the data from my database and populate the form of another website and automatically loggedin my user. Is this possible using php or I need to use a library for this one? I have no idea on how to do this, is this possible? Thank you

CodePudding user response:

You can use firebase that is easy to set up and has all the login methods above you asked for.

https://console.firebase.google.com/project/

CodePudding user response:

No, you cannot control the user's browser through your own website and log them into another site. That would be a major security risk.

  • Related