summaryrefslogtreecommitdiffstats
path: root/python/lasso.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/lasso.py')
-rw-r--r--python/lasso.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/lasso.py b/python/lasso.py
index eea0a596..7e7f4391 100644
--- a/python/lasso.py
+++ b/python/lasso.py
@@ -298,6 +298,8 @@ class AuthnResponse(Node):
ret = lassomod.authn_response_getattr(self, name)
if ret is None:
raise AttributeError, name
+ if name == "request":
+ ret = AuthnRequest(None, _obj=ret)
return ret
def add_assertion(self, assertion, private_key_file, certificate_file):