[21.05] Make authnz end session endpoint optional to support various providers

This commit is contained in:
Nuwan Goonasekera
2021-07-31 18:50:29 +05:30
parent 139c8f3e22
commit fb6522121c
+1 -1
View File
@@ -310,7 +310,7 @@ class CustosAuthnz(IdentityProvider):
self.config['authorization_endpoint'] = well_known_oidc_config['authorization_endpoint']
self.config['token_endpoint'] = well_known_oidc_config['token_endpoint']
self.config['userinfo_endpoint'] = well_known_oidc_config['userinfo_endpoint']
self.config['end_session_endpoint'] = well_known_oidc_config['end_session_endpoint']
self.config['end_session_endpoint'] = well_known_oidc_config.get('end_session_endpoint')
def _get_verify_param(self):
"""Return 'ca_bundle' if 'verify_ssl' is true and 'ca_bundle' is configured."""