Open
Description
Hello all, please, need help with the config for saml2, I'm receiving this error, and have no idea how to add this attribute.
Error processing SAML response: 'Config' object has no attribute 'correctly_signed_response'
My saml config
def parse_authn_response(self, saml_response):
# Load the IdP configuration and parse the SAML response
saml_settings = {
'metadata': {
'remote': [{
'url': OKTA_URL_METADATA,
'cert': MY_CERT,
}],
},
'service': {
'sp': {
'endpoints': {
'assertion_consumer_service': [(self.get_acs_url(), BINDING_HTTP_POST)],
},
'allow_unsolicited': True,
'name_id_format': 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
},
},
}
config = Saml2Config()
config.load(saml_settings)
# Parse the response
authn_response = AuthnResponse(config, saml_response, entity_id=sp.get_entity_id(), binding=BINDING_HTTP_POST)
Does anyone know what and how I can fix it ??
thanks
Metadata
Metadata
Assignees
Labels
No labels