From dd01e3c2275dfa0f8d85c14a777606d176028bb3 Mon Sep 17 00:00:00 2001 From: Wellyas Date: Mon, 31 Oct 2022 16:00:18 +0100 Subject: [PATCH] Enable SAML & OPENIDCONNECT for social-auth-core --- Dockerfile | 8 ++++++++ requirements-container.txt | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2bc5dff..21c58dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,13 @@ RUN export DEBIAN_FRONTEND=noninteractive \ libpq-dev \ libsasl2-dev \ libssl-dev \ + libxml2-dev \ + libxml2-dev \ + libxmlsec1 \ + libxmlsec1-dev \ + libxmlsec1-openssl \ + libxslt-dev \ + pkg-config \ python3-dev \ python3-pip \ python3-venv \ @@ -46,6 +53,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \ curl \ libldap-common \ libpq5 \ + libxmlsec1-openssl \ openssl \ python3 \ python3-distutils \ diff --git a/requirements-container.txt b/requirements-container.txt index f8b720e..0d16b26 100644 --- a/requirements-container.txt +++ b/requirements-container.txt @@ -2,4 +2,5 @@ django-auth-ldap==4.1.0 django-storages[azure,boto3,dropbox,google,libcloud,sftp]==1.13.1 napalm==4.0.0 psycopg2==2.9.4 -social-auth-core[openidconnect]==4.3.0 +python3-saml==1.14.0 +social-auth-core[all]==4.3.0