From 4a74d0649ee410c59fe4a577cc054eca504a7522 Mon Sep 17 00:00:00 2001 From: ace Date: Mon, 13 May 2024 04:20:08 +0300 Subject: [PATCH] keycloak: fix clients --- roles/keycloak/tasks/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/keycloak/tasks/main.yaml b/roles/keycloak/tasks/main.yaml index 3120705..ae1a6c3 100644 --- a/roles/keycloak/tasks/main.yaml +++ b/roles/keycloak/tasks/main.yaml @@ -54,9 +54,9 @@ auth_realm: master auth_username: admin 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 }}" - name: "{{ \"'${client_\" + item.client_id + \"'\" if item.public_client else \"'${client_\" + item.client_id + \"_public'\" }}" + name: "{{ \"${client_\" + item.client_id + \"}\" }}" protocol: openid-connect public_client: "{{ item.public_client | default(false) }}" standard_flow_enabled: "{{ item.standard_flow_enabled | default(true) }}"