mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-11-22 15:10:38 +00:00
37 lines
1.5 KiB
YAML
37 lines
1.5 KiB
YAML
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
- name: Flow Creation/Update <Integration Test Flow> Version 1
|
|
middleware_automation.keycloak.keycloak_authentication_v2:
|
|
realm: "{{ target_realm }}"
|
|
alias: Integration Test Flow
|
|
state: present
|
|
authenticationExecutions:
|
|
- providerId: idp-review-profile
|
|
requirement: REQUIRED
|
|
authenticationConfig:
|
|
alias: Integration Test Flow - review profile config
|
|
config:
|
|
update.profile.on.first.login: "missing"
|
|
- subFlow: Integration Test Flow - User creation or linking
|
|
requirement: REQUIRED
|
|
authenticationExecutions:
|
|
- providerId: idp-create-user-if-unique
|
|
requirement: ALTERNATIVE
|
|
authenticationConfig:
|
|
alias: Integration Test Flow - create unique user config
|
|
config:
|
|
require.password.update.after.registration: "false"
|
|
- subFlow: Integration Test Flow - Handle Existing Account
|
|
requirement: ALTERNATIVE
|
|
authenticationExecutions:
|
|
- providerId: idp-confirm-link
|
|
requirement: REQUIRED
|
|
- providerId: auth-cookie
|
|
requirement: REQUIRED
|
|
register: flow_v1_result
|
|
|
|
- name: Expose flow_v1_result to parent scope
|
|
ansible.builtin.set_fact:
|
|
flow_v1_result: "{{ flow_v1_result }}"
|
|
no_log: true |