fix: saml2无法登陆问题

This commit is contained in:
jiangweidong
2023-08-24 14:00:32 +08:00
committed by Bryan
parent 29fdeef45f
commit bd88e0af68

View File

@@ -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)