keycloak: fix clients

This commit is contained in:
ace 2024-05-13 04:20:08 +03:00
parent 2dc354fad5
commit 4a74d0649e
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

@ -54,9 +54,9 @@
auth_realm: master auth_realm: master
auth_username: admin auth_username: admin
auth_password: "{{ keycloak_admin_password }}" auth_password: "{{ keycloak_admin_password }}"
client_id: "{{ item.client_id + '-public' if item.public_client else item.client_id }}" client_id: "{{ item.client_id }}"
realm: "{{ item.realm }}" realm: "{{ item.realm }}"
name: "{{ \"'${client_\" + item.client_id + \"'\" if item.public_client else \"'${client_\" + item.client_id + \"_public'\" }}" name: "{{ \"${client_\" + item.client_id + \"}\" }}"
protocol: openid-connect protocol: openid-connect
public_client: "{{ item.public_client | default(false) }}" public_client: "{{ item.public_client | default(false) }}"
standard_flow_enabled: "{{ item.standard_flow_enabled | default(true) }}" standard_flow_enabled: "{{ item.standard_flow_enabled | default(true) }}"