在两个Django应用程序之间处理SSO

发布于 2025-01-25 21:04:15 字数 245 浏览 0 评论 0原文

在具有不同子域的单个平台下,有两个基于Django的应用程序。 其中一个应用程序是使用OpenSource项目。这里的数据库在这些应用程序和两个相应的用户表之间都是不同的。我们希望避免对该第二次应用程序(OSS ONE)进行任何重大更改,以确保具有可维护性。

问题是,我们如何在第一个应用程序(我们的主要应用程序)上的用户注册的地方拥有SSO,也应在第二个应用程序中自动使用用户。第一个应用程序理想情况下应处理所有注册/登录过程。 这两个应用程序都支持会议授权。

There is two Django-based application under a single platform with different sub-domain.
One of the applications is using an OpenSource project. Here databases are different between these applications and both respective user tables. We want to avoid making any major changes to this 2nd application(OSS one) to make sure there is maintainability.

The question is how can we have an SSO in a place where the user's signup on the 1st application(our main application), the users should be auto-logged in on the 2nd application too. The 1st application should ideally handle all sign-up/sign-in processes.
Both applications support SessionAuthentication.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文