1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit/plugins/modules/identity/keycloak
patchback[bot] c4a53243d5
Fixes for keycloak_user_federation (#4212) (#4252)
* keycloak: fix creating a user federation w/ idempotent id

Creating a user federation while specifying an id (that doesn't exist
yet) will fail with a 404. This commits fix this behavior.

* keycloak: fix user federation mapper duplication

This commit fixes a bug where mappers are duplicated instead of
configured when creating a user federation.

When creating a user federation, some mappers are autogenerated by
keycloak. This commit lets the keycloak_user_federation module recompute
mappers final values after the user federation is created so that the
module can try to merge them by their name.

* add missing fragment for pr #4212

(cherry picked from commit c1485b885d)

Co-authored-by: Jules Lamur <jlamur@users.noreply.github.com>
2022-02-22 10:08:53 +01:00
..
__init__.py
test_keycloak_authentication.py
test_keycloak_client.py
test_keycloak_client_rolemapping.py
test_keycloak_clientscope.py
test_keycloak_identity_provider.py
test_keycloak_realm.py
test_keycloak_realm_info.py
test_keycloak_role.py
test_keycloak_user_federation.py Fixes for keycloak_user_federation (#4212) (#4252) 2022-02-22 10:08:53 +01:00