mirror of https://github.com/jumpserver/jumpserver
fix: saml2无法登陆问题
parent
29fdeef45f
commit
bd88e0af68
|
@ -146,7 +146,9 @@ class PrepareRequestMixin:
|
||||||
},
|
},
|
||||||
'singleLogoutService': {
|
'singleLogoutService': {
|
||||||
'url': f"{sp_host}{reverse('authentication:saml2:saml2-logout')}"
|
'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)
|
sp_settings['sp'].update(attrs)
|
||||||
|
|
Loading…
Reference in New Issue