Skip to content

Fapi advanced#927

Open
mastastny wants to merge 3 commits into3scale-qe:mainfrom
mastastny:fapi_advanced
Open

Fapi advanced#927
mastastny wants to merge 3 commits into3scale-qe:mainfrom
mastastny:fapi_advanced

Conversation

@mastastny
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread testsuite/rhsso/__init__.py Outdated
@mastastny mastastny marked this pull request as ready for review June 5, 2025 12:50
Copy link
Copy Markdown
Member

@mdujava mdujava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few comments from development needs to be removed.
Also typing 2 functions relates to bumping the keycloak library that can be done in separate PR #936, so that commit can be left out from this PR

Comment thread testsuite/rhsso/objects.py Outdated
Comment thread testsuite/rhsso/__init__.py Outdated
Comment thread testsuite/rhsso/objects.py Outdated
@mastastny mastastny marked this pull request as draft June 18, 2025 12:42
mdujava
mdujava previously approved these changes Jun 19, 2025
@mastastny mastastny marked this pull request as ready for review June 26, 2025 08:48
Comment thread testsuite/tests/conftest.py Outdated
@dhlavac dhlavac added this to the v2.16 milestone Aug 5, 2025
@dhlavac
Copy link
Copy Markdown
Member

dhlavac commented Mar 2, 2026

@mastastny any update there ?

Add update_client() to Realm to merge config into an existing Keycloak client (Zync already creates it via OIDC sync, so create_client() would 409). Fix fapi_sso_client to depend on application to avoid a race with Zync, and use blame() for fapi_sso_client_id to prevent ID collisions between runs.
Replace custom FapiClient with FapiMtlsAuth — a standard request auth object that retrieves a certificate-bound token per request. Use application.api_client(cert=...) for mTLS calls, consistent with the rest of the testsuite. Add fapi_client_invalid fixture to encapsulate the negative test case.
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.

4 participants