From 07390df499a80f5004feb362c0ee1b1a37e0a971 Mon Sep 17 00:00:00 2001 From: Blake Covarrubias Date: Sun, 30 Apr 2017 12:28:09 -0700 Subject: [PATCH] Fix V3ADFSPassword retrieval of scoped token MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The current V3ADFSPassword plugin is unable to return a scoped token in “access.create(resp=self.authenticated_response)” due to scoping info not being passed from V3ADFSPassword to the parent class. This change adds kwargs when calling the parent class’ init method (as performed by other plugins) to ensure the scoping info is correctly propagated. Change-Id: I825f7fe8f6d062ca23623ca5d6790a1dd45a0f5a Closes-Bug: #1687316 --- keystoneauth1/extras/_saml2/v3/adfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keystoneauth1/extras/_saml2/v3/adfs.py b/keystoneauth1/extras/_saml2/v3/adfs.py index ce68588a..b9fb808c 100644 --- a/keystoneauth1/extras/_saml2/v3/adfs.py +++ b/keystoneauth1/extras/_saml2/v3/adfs.py @@ -80,7 +80,7 @@ class Password(base.BaseSAMLPlugin): super(Password, self).__init__( auth_url=auth_url, identity_provider=identity_provider, identity_provider_url=identity_provider_url, - username=username, password=password, protocol=protocol) + username=username, password=password, protocol=protocol, **kwargs) self.service_provider_endpoint = service_provider_endpoint