Skip to content

Commit

Permalink
fix: azure credential awxkit client_id collision
Browse files Browse the repository at this point in the history
  • Loading branch information
adrisala committed Jan 22, 2025
1 parent 4eed454 commit ada42d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions awxkit/awxkit/api/pages/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ def get_payload_field_and_value_from_kwargs_or_config_cred(field, kind, kwargs,
config_field = 'ad_user'
elif field == 'client':
config_field = 'client_id'
elif field == 'client_id' and 'azure' in kind: # Needed to avoid service account client_id collision
config_field = ''
elif field == 'authorize_password':
config_field = 'authorize'
else:
Expand Down

0 comments on commit ada42d7

Please sign in to comment.