Skip to content

feat(keycloak): implement organization management methods and realm u…#106

Open
alip990 wants to merge 1 commit intoSyntaxArc:masterfrom
alip990:keycloak-organization
Open

feat(keycloak): implement organization management methods and realm u…#106
alip990 wants to merge 1 commit intoSyntaxArc:masterfrom
alip990:keycloak-organization

Conversation

@alip990
Copy link

@alip990 alip990 commented Feb 7, 2026

  • Added methods for creating, updating, deleting organizations, and managing organization members in KeycloakAdapter and AsyncKeycloakAdapter.
  • Implemented realm update functionality to enable organization support.
  • Enhanced feature tests to cover organization operations and realm updates.
  • Updated test containers to support the organization feature in Keycloak.

Description

This change adds Keycloak organization support and realm update support so tests and apps can manage organizations and update realm settings (e.g. enable organizations) .

Type of change

  • [] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Behave – Keycloak adapter: Run uv run --extra behave behave features/keycloak_adapter.feature (or make behave). Keycloak 26 runs via testcontainers with --features organization; no extra local setup.
  • Organization and realm update: Run uv run --extra behave behave features/keycloak_adapter.feature --tags=organizations for organization flows, and uv run --extra behave behave features/keycloak_adapter.feature -n "Realm update" for the realm update scenario.

Checklist:

  • My code follows the style guidelines of this project (PEP 8, Ruff 120, Google-style docstrings, Python 3.14 type hints)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas (docstrings and step comments where needed)
  • I have made corresponding changes to the documentation (optional; docs can be updated in a follow-up)
  • My changes generate no new warnings (existing behave import warnings only)
  • I have added tests that prove my fix is effective or that my feature works (Behave scenarios for organizations and realm update)
  • New and existing unit tests pass locally with my changes (make behave / make check)
  • Any dependent changes have been merged and published in downstream modules (N/A)
  • I have checked my code and corrected any misspellings

…pdate functionality

- Added methods for creating, updating, deleting organizations, and managing organization members in KeycloakAdapter and AsyncKeycloakAdapter.
- Implemented realm update functionality to enable organization support.
- Enhanced feature tests to cover organization operations and realm updates.
- Updated test containers to support the organization feature in Keycloak.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant