php - sso single sign-in. Looking for ideas
黄舟
黄舟 2017-05-27 17:42:36
0
3
1004

Hello teachers, I have a question that I haven’t figured out yet? Station A and station B have different databases, for example (one cms, one forum). If you do SSO login, how to synchronize the database? Station A has data but station B has no data. What should I do? Do we need to synchronize the membership tables of the two databases when registering users? How to sync? Please give me some advice

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(3)
迷茫

sso is only a certification center, and other data not related to certification are managed by each project itself

黄舟

Build an SSO login verification service interface. When accessing station A and station B, check the local login credentials. If not, request the SSO login service interface to verify whether you have logged in. If you are logged in, set the local login credentials. If you are not logged in, log in through the SSO login interface again. Set local login credentials.

刘奇

Just make it an independent library C. There is no need to store it in library A and library B

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template