mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 20:00:43 -03:30
fix a bug in the Centrify Vault plugin
This commit is contained in:
parent
764322b87b
commit
1b2d457090
@ -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)
|
||||
|
||||
@ -12,7 +12,7 @@ def setup_tower_managed_defaults(apps, schema_editor):
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('main', '0123_drop_hg_support'),
|
||||
('main', '0129_unifiedjob_installed_collections'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
Loading…
x
Reference in New Issue
Block a user