How to extend authentication for a C#/.NET web app to Django project?

Luca Chiavarini 71 Reputation points
2023-03-16T15:39:50.1+00:00

I have a C#/.NET web site with SAML authentication implemented on it. In a page of this web site, I put a link for another web site, made in Python-Django, and I need to implement the same authentication system. So, it's like I want to extend the same authentication to Django website (same IAM).

Technically, the Django site should know how to get its own SAML token. So I should redirect to the URL hosted by that site which will initiate the SAML handshaking.

How can I implement it for the Python-Django web site?

Microsoft Security Microsoft Authenticator
Developer technologies .NET Other
Developer technologies C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2023-03-16T15:58:37.99+00:00

    you need a SAML library for Python. try:

    https://github.com/SAML-Toolkits/python-saml


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.