在两个Django应用程序之间处理SSO
在具有不同子域的单个平台下,有两个基于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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论