File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -280,6 +280,7 @@ def do_logout(
280
280
except KeyError :
281
281
session_indexes = None
282
282
283
+ sign = sign if sign is not None else self .logout_requests_signed
283
284
sign_post = False if binding == BINDING_HTTP_REDIRECT else sign
284
285
sign_redirect = False if binding == BINDING_HTTP_POST and sign else sign
285
286
Original file line number Diff line number Diff line change @@ -241,7 +241,11 @@ def apply_binding(
241
241
:return: A dictionary
242
242
"""
243
243
244
- # XXX sig-allowed should be configurable
244
+ # XXX SIG_ALLOWED_ALG should be configurable
245
+ # XXX should_sign stems from authn_requests_signed and sign_response
246
+ # XXX based on the type of the entity
247
+ # XXX but should also take into account the type of message (Authn/Logout/etc)
248
+ # XXX should_sign should be split and the exact config options should be checked
245
249
sign = sign if sign is not None else self .should_sign
246
250
sign_alg = sigalg or self .signing_algorithm
247
251
if sign_alg not in [long_name for short_name , long_name in SIG_ALLOWED_ALG ]:
You can’t perform that action at this time.
0 commit comments