-4

I have an login system made in php and a MySQL database now I want it to use by other website also, for example using Gmail we can log in to other websites ....for example Facebook using Facebook api we can also log in to other websites...

georgeawg
  • 46,994
  • 13
  • 63
  • 85

2 Answers2

0

You can use the same table for both of the websites \ login form. if you have Database with users \ members table you can use it. connect the form to same DB (with the connection details).

Elroy Cohen
  • 11
  • 1
  • 3
0

You should use a service like OAuth, Auth0 or OpenID. 0Auth is probably the best solution for you.

This may be helpful for you: The definitive guide to form-based website authentication

T K
  • 578
  • 6
  • 19