idp/saml: do not modify absent response on ProfileInvalidProtocolprofileError (fixes #24189)
On this path it's impossible to return an AuthnResponse as Lasso cannot decide on the destination URL, as no protocol profile could be determined.
This commit is contained in:
parent
26d39e05ad
commit
700786714f
|
@ -463,7 +463,6 @@ def sso(request):
|
|||
"answered because no valid protocol binding could be found")
|
||||
logger.warning("the request cannot be answered because no "
|
||||
"valid protocol binding could be found")
|
||||
login.response.status.statusMessage = 'No valid protocol binding could be found'
|
||||
return HttpResponseBadRequest(message, content_type='text/plain')
|
||||
except lasso.ProviderMissingPublicKeyError, e:
|
||||
log_info_authn_request_details(login)
|
||||
|
|
Loading…
Reference in New Issue