diff --git a/llm-server/llm/ansible/roles/open_webui/tasks/main.yml b/llm-server/llm/ansible/roles/open_webui/tasks/main.yml index ba498c4..883697e 100644 --- a/llm-server/llm/ansible/roles/open_webui/tasks/main.yml +++ b/llm-server/llm/ansible/roles/open_webui/tasks/main.yml @@ -142,12 +142,12 @@ check_mode: false register: open_webui_oidc_secret_exists -- name: Require the OIDC client secret when OIDC is enabled - ansible.builtin.fail: +- name: Note when OIDC is enabled with a public (PKCE) client and no secret + ansible.builtin.debug: msg: >- - open_webui_oidc_enabled=true requires the Podman secret - {{ open_webui_oidc_client_secret_secret }} (operator creates it from - the Keycloak client secret, never in git). + OIDC enabled; Podman secret {{ open_webui_oidc_client_secret_secret }} + absent — fine for a public client with PKCE. For a confidential client, + create the secret from the Keycloak client secret (never in git). when: - open_webui_oidc_enabled | bool - open_webui_oidc_secret_exists.rc != 0