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...
Asked
Active
Viewed 48 times
-4
-
Have you tried [OAuth](https://bshaffer.github.io/oauth2-server-php-docs/) ? – Madhan Varadhodiyil Aug 11 '18 at 10:17
-
@MadhanVaradhodiyil I have seen oauth concept but I don't know how to make our own oauth system so that I can implement my login system to other websites... – user10211847 Aug 11 '18 at 10:23
-
@MadhanVaradhodiyil plz sir help me out – user10211847 Aug 11 '18 at 10:23
-
2There is a Walk through on how to set up your OAuth2 Server. Please read [this](https://bshaffer.github.io/oauth2-server-php-docs/cookbook/). If you get any errors or need any help please post here. – Madhan Varadhodiyil Aug 11 '18 at 10:39
-
@MadhanVaradhodiyil thank your sir ,I will surely look this ... – user10211847 Aug 11 '18 at 11:43
2 Answers
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