Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A global login (many sites)

Tags:

database

php

We are a growing network but we figured we want to keep that the User only would need one account in order to access the network different sites. (Similar to Stackoverflow's login, If you login in to another "site" you use your account credentials and than your account is created). We want our own login system (Username, password) and not OpenId, as we'd probably have that in the future, but the main focus right now is the global login.

How can I do this? Do a Curl request and send back a cookie? Have a "database" just for the login procedure and on first login also create a new "User" in the site specified database?

Suggestions?.

like image 804
John Avatar asked Nov 04 '22 22:11

John


1 Answers

This is done on stackexchange sites as well using OpenID, check out this post:

  • Global Network Auto-Login
like image 167
Sarfraz Avatar answered Nov 11 '22 06:11

Sarfraz