Integrating Django and .Net Applications Using Single Sign-On (SSO)

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

thanks

+2
python django single-sign-on
source share
2 answers

We implement OpenID in our company so that the only trusted openid provider is our own. Because of this, the user does not need to use anything to enter the site. They simply click on the login button and are taken to the main login site. If they are already logged in, he instantly sends them back to the site, and they authenticate. If they have not logged in yet, he will ask them to authenticate.

While we do not use .Net, we use several languages ​​(the most common are Python and PHP) and many open source frameworks (Django, Drupal, Wordpress among others), and we really brought our code back to these communities as plugins open source.

My friend, who is a .NET developer, uses OpenID in his application, so I know that the code for this already exists and is available.

+1
source share

The easiest way to do this is to use SSO - unfortunately, there are not many good SSO tools for Django.

I am very biased as I work here, but my company Stormpath ( https://stormpath.com ) does this for you. You basically connect our Django library to settings.py ( https://github.com/stormpath/stormpath-django ) and it handles SSO for ya.

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

This works with any type of language, although - to interact with the user through your .net application, all you have to do is request the Stormpath API to get the user.

+1
source share

All Articles