mirror of
https://github.com/ansible/awx.git
synced 2026-04-09 03:59:21 -02:30
fix a bug in the Centrify Vault plugin
This commit is contained in:
@@ -89,7 +89,7 @@ def get_ID(**kwargs):
|
||||
result_str = response.json()["Result"]["Results"]
|
||||
return result_str[0]["Row"]["ID"]
|
||||
except (IndexError, KeyError):
|
||||
raise RuntimeError("Error Detected!! Check the Inputs")
|
||||
raise RuntimeError("Error Detected!! Check the Inputs")
|
||||
|
||||
|
||||
# CheckOut Password from Centrify Vault, Input : ID
|
||||
@@ -123,7 +123,7 @@ def centrify_backend(**kwargs):
|
||||
endpoint = {
|
||||
'endpoint': endpoint,
|
||||
'client_id': client_id,
|
||||
'client_password': client_password
|
||||
'client_password': client_password,
|
||||
'oauth_scope': kwargs.get('oauth_scope', 'awx')
|
||||
}
|
||||
token = handle_auth(**endpoint)
|
||||
|
||||
Reference in New Issue
Block a user