Fix V3ADFSPassword retrieval of scoped token

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
This commit is contained in:
Blake Covarrubias 2017-04-30 12:28:09 -07:00
parent 6cbd95bb8d
commit 07390df499
1 changed files with 1 additions and 1 deletions

View File

@ -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