Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6108393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:17:31+00:00 2026-05-23T14:17:31+00:00

I have a network for three websites that related. – site1.domain.com – site2.domain.com –

  • 0

I have a network for three websites that related.

 - site1.domain.com
 - site2.domain.com
 - site3.domain.com

Currently, each submdomain has ~100 accounts in three separate databases. They login separately for each domain. I’d like to create site0.domain.com that lets them authenticate against one database, and then automatically log the user in to each site as they visit them.

I’m not too sure how to do this. I’ve heard terms thrown around like Open ID and Federations and Single Sign On but I’ve never wanted to integrate sites like this before.

Any tips on firstly, how this is accomplished technically (I’m using PHP/MySQL) and secondly, what is a good plan for migrating existing user accounts over to use the single sign on without interrupting service?

I’m guessing a user can login via a form on site0 and it will auth the user against a database and create a database row for their session, with an accompanying token. The token is set in a session variable cookie. The user visits site1,site2,or site3 and if a token variable is set in the GET request, it connects to the same database site0 uses, searches for the token, and returns the correct user row. Is that pretty much how this works? Any more technical advice would be great…

As far as migrating, I guess I can have the users create their site0 login or ‘connect’ their user account to the site0 login if they haven’t yet each time they login to one of the sites. After 30 days, all the sites stop accepting normal logins and the user is forced to create a site0 login. When they create a site0 login it asks for their site1,site2,or site3 username/password so it can get the right user information.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:17:31+00:00Added an answer on May 23, 2026 at 2:17 pm

    Take a look at something like SimpleSAMLphp It’s a great library for doing this kind of thing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a network of blogs that I want to be able to do
We have a central login that we use to support multiple websites. To store
I have virtually the same question as https://stackoverflow.com/questions/3300504/finding-out-all-websites-hosted-by-a-webhosting-service ... I'm trying to get shared
I am currently developing a SSO website-network. It has a few websites wich are
I am running a network. Here I have a domain controller (DC) I just
I have a bunch of code that's already written which currently relies on images
I've noticed that just in the last year or so, many major websites have
I've installed ArchLinux with VB on MacOS. I have network problems, I cannot resolve
I have two network interfaces on my Solaris machine and the output of ifconfig
I have a network software which uses UDP to communicate with other instances of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.