From b93319e3591ae925dc95110581afc0713e3105cf Mon Sep 17 00:00:00 2001 From: John Westcott IV Date: Wed, 19 Aug 2020 14:27:02 -0400 Subject: [PATCH] Updating to remove auth_type since its not longer required --- awx_collection/plugins/module_utils/tower_awxkit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx_collection/plugins/module_utils/tower_awxkit.py b/awx_collection/plugins/module_utils/tower_awxkit.py index 506b64fb20..fc4e232f1b 100644 --- a/awx_collection/plugins/module_utils/tower_awxkit.py +++ b/awx_collection/plugins/module_utils/tower_awxkit.py @@ -32,7 +32,7 @@ class TowerAWXKitModule(TowerModule): def authenticate(self): try: if self.oauth_token: - self.connection.login(None, None, token=self.oauth_token, auth_type='Bearer') + self.connection.login(None, None, token=self.oauth_token) self.authenticated = True elif self.username: self.connection.login(username=self.username, password=self.password)