fix: saml2无法登陆问题

pull/11410/head
jiangweidong 2023-08-24 13:58:41 +08:00 committed by Bryan
parent 04f4ecb3d1
commit 642f92c0a3
1 changed files with 3 additions and 1 deletions

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)