本文介绍了使用集成单点登录Django和.Net应用程序(SSO)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有异构系统组成的Django和.NET Web应用程序。我主要是对Django.Is工作,可以集成使用单点登录这些异构系​​统?任何想法在这方面将是真正的AP preciated。

We have heterogeneous systems consisting of Django and .Net web applications. I primarily work on Django.Is it possible to integrate these heterogeneous systems using Single Sign On ?Any ideas in this regard would be truly appreciated.

感谢您

推荐答案

这样的东西是使用SSO做最简单的方法 - 不幸的是,不会有太多的好SSO工具,有Django的

The simplest way to do stuff like this is using SSO -- unfortunately, there aren't many good SSO tools out there for Django.

我是pretty的偏见,因为我在这里工作,但我的公司,Stormpath( https://stormpath.com )这个八九不离十的事情你。你基本上堵塞我们的Django库到settings.py( https://github.com/stormpath/stormpath-django ),它处理SSO为雅。

I'm pretty biased as I work here, but my company, Stormpath (https://stormpath.com) does this sorta thing for you. You basically plug our Django library into settings.py (https://github.com/stormpath/stormpath-django), and it handles SSO for ya.

如果一个用户登录,比如,他们会被重定向到一个静态的网站login.yoursite.com,其中有一个注册页面,登录页面,社会登录等。用户将登录,然后重新回到您的子域。巴姆。

If a user logs in, for instance, they'll be redirected to a static site at login.yoursite.com, which has a registration page, login page, social login, etc. The user will be logged in, then redirected back to your subdomains. Bam.

这适用于任何种类的语言,但 - 通过你的.NET应用程序与用户进行交互,所有你需要做的就是查询Stormpath API来获取用户

This works with any sort of language though -- to interact with the user through your .net app, all you have to do is query the Stormpath API to get the user.

这篇关于使用集成单点登录Django和.Net应用程序(SSO)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 20:20