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…
Question posted in Facebook API
The official documentation for the Facebook APIs can be found here.
The official documentation for the Facebook APIs can be found here.
2
Answers
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).
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