diff options
Diffstat (limited to 'src/saml2/entity.py')
-rw-r--r-- | src/saml2/entity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/entity.py b/src/saml2/entity.py index 1276b80d..27b30fe9 100644 --- a/src/saml2/entity.py +++ b/src/saml2/entity.py @@ -224,7 +224,7 @@ class Entity(HTTPBase): info["method"] = "POST" elif binding == BINDING_HTTP_REDIRECT: logger.info("HTTP REDIRECT") - if 'sigalg' in kwargs: + if kwargs.get('sigalg', ''): signer = self.sec.sec_backend.get_signer(kwargs['sigalg']) else: signer = None |