ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
827 stars 1.52k forks source link

keycloak_client: add the parameter Login Theme #7993

Open gavarito opened 8 months ago

gavarito commented 8 months ago

Summary

I would like can use the parameter "Login Theme" in keycloak client. I automated the creation of keycloak clients with the ansible module, but there is no option in the module to configure which Login Theme you want to be used in the case of clients used in SSO integration.

Issue Type

Feature Idea

Component Name

keycloak_client

Additional Information

- name: Create or update a Keycloak client
  community.general.keycloak_client:
    auth_keycloak_url: https://auth.example.com/auth
    auth_realm: master
    auth_username: USERNAME
    auth_password: PASSWORD
    state: present
    realm: master
    client_id: test
    login_theme: keycloak

Code of Conduct

ansibullbot commented 8 months ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 8 months ago

cc @eikef @mattock @ndclt click here for bot help

pixslx commented 8 months ago

Hi @gavarito

Try this:

- name: Create or update a Keycloak client
  community.general.keycloak_client:
    auth_keycloak_url: https://auth.example.com/auth
    auth_realm: master
    auth_username: USERNAME
    auth_password: PASSWORD
    state: present
    realm: master
    client_id: test
    attributes:
      login_theme: keycloak
ansibullbot commented 3 months ago

cc @thomasbach-dev click here for bot help