How to create a Shared Login Service across Multiple Domains?

后端 未结 7 1669
逝去的感伤
逝去的感伤 2020-12-12 12:15

I\'m interested in how to implement a shared cross-domain login system as well as best practices and security precautions to take. If you are familiar with 37Signals, you ar

7条回答
  •  盖世英雄少女心
    2020-12-12 12:55

    You could try to implement a Global Network Auto-Login solution à la Stack Overflow.
    There's an insightful post regarding its brilliant implementation by Kevin Montrose here.

    It would require Cookies, HTML5 localStorage, Javascript, Iframe and a lot of security checks but I think it's worth it.

提交回复
热议问题