'Config' object has no attribute '_load' in current
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pySAML2 |
Fix Released
|
Medium
|
Lorenzo Gil Sanchez |
Bug Description
I'm trying to get djangosaml2 to work with a simple configuration, but when I try to use it I get:
Traceback:
File "/Users/
100. response = callback(request, *callback_args, **callback_kwargs)
File "/Users/
53. conf = _load_conf()
File "/Users/
40. conf.load(
File "/Users/
76. self._load(config)
Exception Type: AttributeError at /saml2/login/
Exception Value: 'Config' object has no attribute '_load'
I'm using the latest version from bzr. SAML_CONFIG is set, but doesn't seem to impact something.
description: | updated |
Changed in pysaml2: | |
status: | Fix Committed → Fix Released |
djangosaml2 was out of sync with latest changes in pysaml2. A few things changed in the way the configuration was handled. Now there are two different config classes: one for the idp and one for the sp. Both classes inherits from a base abstract class, which was the only one used before.
I have adapted djangosaml2 to use the new system. Please test it and see if it works now.