We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df8836f commit f73b581Copy full SHA for f73b581
1 file changed
src/onelogin/saml2/settings.py
@@ -440,7 +440,7 @@ def check_sp_settings(self, settings):
440
elif not validate_url(sp['assertionConsumerService']['url']):
441
errors.append('sp_acs_url_invalid')
442
443
- if len(sp['attributeConsumingService']):
+ if 'attributeConsumingService' in sp and len(sp['attributeConsumingService']):
444
# so we have a attributeConsumingService element...
445
446
# serviceName and requestedAttrib are required
0 commit comments