Django Windows IIS Single Sign On - django

I'm currently working on a Django App that has all reporting dashboards for 11 different divisions. One of the web development requirements of our company is a single sign-on. My app is currently hosted via Windows IIS and I have a database resource where I can grab all active users for our company.
However, I have searched the net for tutorials on how to do this in my Django app but with no success. If you could provide me a url or at least an advice on how to do this, I would definitely appreciate it.

Single sign on from an app in your company or something like Google? For social single sign on you could take a look at the https://github.com/python-social-auth/social-app-django/tree/master/social_django, or use that to create your own.

Related

Web site and mobile app: how to combine this 2 IT support?

I've been working with Django for one year now, to develop web site applications.
And I've just started to learn about Flutter, the cross-plateform solution by Google to develop mobile app.
Having this 2 IT supports TOGETHER for the same project would be ideal.
That means web site application and mobile app should "share" the same database, at least for authentication (user should have the same account for web app and mobile app) but not only.
Basically, principle of my web site applications is to give a random number from a list. A number can only be assigned once. So, mobile app should share the same database to get access to the list of number to be assigned.
is it feasible?
Please search for "RESTful API".
Maybe I don't understand all your mean. Client-server, Front-end back-end, Cross-platform concepts have been in use for a long time. Flutter(web or mobile) is often used for developing Front-end. Create a back-end which can be used for all of them

How to prevent employees to work from home on the company's django application

I built an ERP for a small company using Django 1.11. They are expanding now and have other companies joining them and now also use the system I built.
The problem now is that some of the companies do not want their employees to be able to work from outside of the company's premises; remotely. Is there a way to achieve this on the Django application? Is there a way to tweak the Django's allowed_host setting for this purpose? Should I be checking for the location of the user connecting to the app? If so, how do I prevent the app from being fooled by those using a VPN service?

Creating a Mult-Tenant OAuth Client App

Essentially, I'm wanting to create an Oauth Client as an App so I can get data from Dynamics for multiple customers. Does anyone know if this is possible to do in AppSource or do you know of another way?
I have a service that will be served in a cloud different than Azure so there really isn't anything for me to submit as an App and I really don't want every customer to have to setup their own App that gives my service the privileges/access it needs, but it's looking like I may have to.
It sounds like you'll want to register an app with Azure AD (the OAuth2.0 service/identity provider for work and school accounts), and create a multi-tenant app. Then you can configure this app in the Azure Portal to get permissions to the APIs the app wants tokens to call (in your case Dynamics or the Microsoft Graph).
Once this app is written, you can code up your app using one of the Azure AD Auth Libraries. Here's some sample code for a .NET web API. You can find more code samples on Github and search active directory. Moreover, the Azure Active Directory Developer Landing Page is a great place to look for more resources on doing all of this.

Sitecore how to separating Authoring from Delivery

I am planning a Sitecore deployment, I was reading a "Separating Authoring from Delivery" http://www.awareweb.com/AwareBlog/ArchConsideration.aspx.
Do I need to install and configure Sitecore in both envioronments. In that case users can access Delivery/Sitecore and Authoring/Sitecore.
How can I actually seperate two websites? I am bit confused. Please help!
Dhanuka777, as mentioned by techphoria, you'll really have to start reading up on a lot of things before you'll be able to get more direct help.
That being said, this is the basics of what you're trying to achieve:
Delivery: This is a website running the sitecore web application, but it does not allow users to login to the Sitecore editing interface. It can only serve up the content to your extranet users.
Authoring: This is a website running the sitecore web application, but it allows users to login to the Sitecore editing interface. Extranet users cannot access it. This usually means it's running on a VM or server behind a firewall.
You will also need to look at how you want deploy your databases to support these two sites.

Single Sign On Application Cookie Issue

Hi All I am working on a single sign on system which a load of other web applications will use as its membership provider. I currently have the system up and running in ASP.NET MVC and everything works well, users can log into an application once and have access to all the other apps through that login cookie.
The problem is that users dont all have access to the same apps, this is currently handled at login and if they dont have access to the app they are denied. However with the cookie being set automatically by asp membership, if they do login to an application they have access to they are then given access to all the other apps via the cookie, including the ones they dont have access to.
Any ideas on how to fix this? Ideally I want the cookie to remain as part of the process as I like the idea of a user logging in just once to access all the apps they have. Ideally the applications will maintain the login details but check a webservice if those details have access to that app? I wont have access to the individual applications (they all use standard out the box asp membership, only the web config is altered to point to my system) and all this must be managed by the Signle Sign On area.
Many thanks in advance to those who contribute!
How about setting the names differently for each of the apps that use the membership system?