5

If I have 10 websites, how can I create a single-sign-on such that if they login to any of the 10 websites, going to the other websites automatically detects they are logged in and logs them in.

How is this done? You can't share cookies between domains, so how can you detect if the user logged into any of the 10 sites?

codecompleting
  • 9,251
  • 13
  • 61
  • 102
  • 1
    here's a SO question on cross-domain cookie sharing: http://stackoverflow.com/q/263010/366493 – csturtz Feb 22 '12 at 19:01

2 Answers2

0

Use more verbose cookie setting method

Rails: how can I share permanent cookies across multiple subdomains?

Community
  • 1
  • 1
Andre Dublin
  • 1,148
  • 1
  • 16
  • 34
-2

See the List of single sign-on implementations here: http://en.wikipedia.org/wiki/List_of_single_sign-on_implementations

Ruslan Ulanov
  • 947
  • 1
  • 10
  • 12