mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
Add support for client auth in Keycloak cllient secrets module (#10933)
* keycloak: add client authentication support for client_secret Signed-off-by: Marius Bertram <marius@brtrm.de> * readd ['token', 'auth_realm'] Signed-off-by: Marius Bertram <marius@brtrm.de> --------- Signed-off-by: Marius Bertram <marius@brtrm.de>
This commit is contained in:
@@ -33,8 +33,8 @@ def keycloak_clientsecret_module():
|
||||
argument_spec=argument_spec,
|
||||
supports_check_mode=True,
|
||||
required_one_of=([['id', 'client_id'],
|
||||
['token', 'auth_realm', 'auth_username', 'auth_password']]),
|
||||
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']]),
|
||||
mutually_exclusive=[
|
||||
['token', 'auth_realm'],
|
||||
['token', 'auth_username'],
|
||||
|
||||
Reference in New Issue
Block a user