diff --git a/awx/main/credential_plugins/tss.py b/awx/main/credential_plugins/tss.py index c96adb5d31..f6b6a8a250 100644 --- a/awx/main/credential_plugins/tss.py +++ b/awx/main/credential_plugins/tss.py @@ -39,7 +39,7 @@ tss_inputs = { tss_plugin = CredentialPlugin( 'Thycotic Secret Server', tss_inputs, - lambda **kwargs: SecretServer( - kwargs['server_url'], PasswordGrantAuthorizer(kwargs['server_url'].rstrip('/') + '/oauth2/token', kwargs['username'], kwargs['password']) - ).get_secret(kwargs['secret_id']), + lambda **kwargs: SecretServer(kwargs['server_url'], PasswordGrantAuthorizer(kwargs['server_url'], kwargs['username'], kwargs['password'])).get_secret( + kwargs['secret_id'] + ), )