diff --git a/apps/authentication/backends/saml2/views.py b/apps/authentication/backends/saml2/views.py
index e0fa97590..235dd2c38 100644
--- a/apps/authentication/backends/saml2/views.py
+++ b/apps/authentication/backends/saml2/views.py
@@ -146,7 +146,9 @@ class PrepareRequestMixin:
                 },
                 'singleLogoutService': {
                     'url': f"{sp_host}{reverse('authentication:saml2:saml2-logout')}"
-                }
+                },
+                'privateKey': getattr(settings, 'SAML2_SP_KEY_CONTENT', ''),
+                'x509cert': getattr(settings, 'SAML2_SP_CERT_CONTENT', ''),
             }
         }
         sp_settings['sp'].update(attrs)