1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 05:09:12 +00:00
community.general/tests/integration/targets/keycloak_modules_authentication
patchback[bot] 83a48d9fdc
[PR #10231/f44ca23d backport][stable-11] keycloak: add support for client_credentials authentication (#10268)
keycloak: add support for client_credentials authentication (#10231)

* add client_credentials authentication for keycloak tasks incl. test case

* support client credentials in all keycloak modules

* Add changelog fragment

* fix typos in required list

* Update changelogs/fragments/10231-keycloak-add-client-credentials-authentication.yml



* revert keycloak url in test environment

---------


(cherry picked from commit f44ca23d7a)

Co-authored-by: divinity666 <65871511+divinity666@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-06-18 07:57:07 +02:00
..
tasks [PR #10231/f44ca23d backport][stable-11] keycloak: add support for client_credentials authentication (#10268) 2025-06-18 07:57:07 +02:00
vars [PR #10231/f44ca23d backport][stable-11] keycloak: add support for client_credentials authentication (#10268) 2025-06-18 07:57:07 +02:00
aliases
README.md

Running keycloak module authentication integration test

To run the Keycloak module authentication integration test, start a keycloak server using Docker or Podman:

    podman|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

Source Ansible env-setup from ansible github repository.

Run the integration tests:

    ansible-test integration keycloak_role --python 3.10 --allow-unsupported

To cleanup, run:

    podman|docker stop mykeycloak