diff options
author | Jakub Laskowski <49683897+Laskya@users.noreply.github.com> | 2023-10-03 17:54:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 17:54:57 +0200 |
commit | 3c8f71e559c71b85d41d618779ddbba84b9a7ffc (patch) | |
tree | 0b60b41f928afe68f8c9af4a42c2e840cc0d4732 /awx/main/credential_plugins/tss.py | |
parent | DROP unnecessary unpartioned event tables (#14055) (diff) | |
download | awx-3c8f71e559c71b85d41d618779ddbba84b9a7ffc.tar.xz awx-3c8f71e559c71b85d41d618779ddbba84b9a7ffc.zip |
Fixed wrong arguments order in DomainPasswordGrantAuthorizer (#14441)
Signed-off-by: Jakub Laskowski <jakub.laskowski9@gmail.com>
Co-authored-by: Seth Foster <fosterseth@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r-- | awx/main/credential_plugins/tss.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/awx/main/credential_plugins/tss.py b/awx/main/credential_plugins/tss.py index 85cc5f5ada..682c6c8639 100644 --- a/awx/main/credential_plugins/tss.py +++ b/awx/main/credential_plugins/tss.py @@ -54,7 +54,9 @@ tss_inputs = { def tss_backend(**kwargs): if kwargs.get("domain"): - authorizer = DomainPasswordGrantAuthorizer(kwargs['server_url'], kwargs['username'], kwargs['password'], kwargs['domain']) + authorizer = DomainPasswordGrantAuthorizer( + base_url=kwargs['server_url'], username=kwargs['username'], domain=kwargs['domain'], password=kwargs['password'] + ) else: authorizer = PasswordGrantAuthorizer(kwargs['server_url'], kwargs['username'], kwargs['password']) secret_server = SecretServer(kwargs['server_url'], authorizer) |