(Django) Sharing authentication across two sites that are on different domains

后端 未结 4 1678
你的背包
你的背包 2020-12-24 15:18

I have two sites say foo.com and bar.com and are both Django based. Primary registration occurs on foo.com (I\'d like the main user db to be here) and I\'d like for three th

4条回答
  •  庸人自扰
    2020-12-24 15:33

    I had a very similar problem but OpenID was not a viable solution for me. With the advent of multiple databases in django >1.2, it is now pretty easy to share session and login data across sites. This blog post does a great job of explaining how to get it set up. Hopefully others find this as useful as I did.

提交回复
热议问题