1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-21 20:59:10 +00:00
community.general/tests/integration/targets/keycloak_client
Ivan Kokalovic df6d6269a6
keycloak_client: add valid_post_logout_redirect_uris and backchannel_logout_url (#11473)
* feat(keycloak_client): add valid_post_logout_redirect_uris and backchannel_logout_url

Add two new convenience parameters that map to client attributes:

- valid_post_logout_redirect_uris: sets post.logout.redirect.uris
  attribute (list items joined with ##)
- backchannel_logout_url: sets backchannel.logout.url attribute

These fields are not top-level in the Keycloak REST API but are stored
as client attributes. The new parameters provide a user-friendly
interface without requiring users to know the internal attribute names
and ##-separator format.

Fixes #6812, fixes #4892

* consolidate changelog and add PR link per review feedback
2026-02-07 16:19:29 +01:00
..
tasks keycloak_client: add valid_post_logout_redirect_uris and backchannel_logout_url (#11473) 2026-02-07 16:19:29 +01:00
vars keycloak_client: add valid_post_logout_redirect_uris and backchannel_logout_url (#11473) 2026-02-07 16:19:29 +01:00
aliases Add missing integration test aliases files (#11357) 2026-01-02 09:34:06 +01:00
README.md Keycloak client scope support (#10842) 2025-10-06 18:16:27 +02:00

Running keycloak_client module integration test

To run Keycloak client module's integration test, start a keycloak server using Docker:

docker run -d --rm --name mykeycloak -p 8080:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=password quay.io/keycloak/keycloak:latest start-dev --http-relative-path /auth

Run the integration tests:

ansible-test integration -v keycloak_client --allow-unsupported --docker --docker-network host

Cleanup:

docker stop mykeycloak