mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-11-25 18:33:46 +00:00
Merge pull request #400 from RanabirChakraborty/AMW-615
AMW-615 Inconsistent support of authentication via client credentials
This commit is contained in:
@@ -211,8 +211,14 @@ def main():
|
|||||||
|
|
||||||
module = AnsibleModule(argument_spec=argument_spec,
|
module = AnsibleModule(argument_spec=argument_spec,
|
||||||
supports_check_mode=True,
|
supports_check_mode=True,
|
||||||
required_one_of=([['token', 'auth_realm', 'auth_username', 'auth_password']]),
|
required_one_of=(
|
||||||
required_together=([['auth_realm', 'auth_username', 'auth_password']]))
|
[
|
||||||
|
["token", "auth_realm", "auth_username", "auth_password", "auth_client_id", "auth_client_secret"],
|
||||||
|
]
|
||||||
|
),
|
||||||
|
required_together=([["auth_username", "auth_password"]]),
|
||||||
|
required_by={"refresh_token": "auth_realm"},
|
||||||
|
mutually_exclusive=[["token", "auth_realm"], ["token", "auth_username"], ["token", "auth_password"]])
|
||||||
|
|
||||||
result = dict(changed=False, msg='', diff={}, end_state={})
|
result = dict(changed=False, msg='', diff={}, end_state={})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user