Skip to content

Conversation

@danielnickels
Copy link
Owner

No description provided.

ryshoooo and others added 28 commits April 5, 2023 10:00
* fix: deprecation warnings in keycloak_admin.py

* fix: Set auto_refresh_token only when needed
* test: fixed tests for new keycloak

* test: make tests compatible with previous keycloak versions
…ncy (#434)

* fix(pyproject.toml): loose requests pgk and remove urllib3 as dependency

* build: update poetry.lock

* revert: everything

* revert: revert-ception
* feat: add tests and logic for deleting client authz resource

* feat: add tests and logic for getting client authz resource

* fix: update return type of get_client_authz_resource from bytes to dict

* fix: update return type of get_client_authz_resources admin method
* fix: initializing KeycloakAdmin without server_url

According to the project readme, we could initialize a KeycloakAdmin object with a KeycloakOpenIDConnection object without other arguments but, server_url is required.

I made server_url optional and wrote a test for it.

* Revert "fix: initializing KeycloakAdmin without server_url"

This reverts commit 09cf503.

* fix: initializing KeycloakAdmin without server_url

According to the project readme, we could initialize a KeycloakAdmin object with a KeycloakOpenIDConnection object without other arguments but, server_url is required.

I made server_url optional and wrote a test for it.

* fix: check linting, formatting

---------

Co-authored-by: Armin Shoughi <a.shoughi@hesaba.co>
* Updating the version of requestrequests-toolbelt which removed the usage of google app engine and uses urllib3

Signed-off-by: isccarrasco <mario.carrasco@gmail.com>

* Updating the version of requestrequests-toolbelt which removed the usage of google app engine and uses urllib3

Signed-off-by: isccarrasco <mario.carrasco@gmail.com>

---------

Signed-off-by: isccarrasco <mario.carrasco@gmail.com>
…ission is linked with anything other than a role based policy. Fixes #445 (#446)
* refactor: Refactor exchange_token method

Add missing arguments:
  - subject_token_type
  - subject_issuer
  - requested_issuer

Remove client_id argument. The client_id should come from self.

Add None defaults

* 🔥 chore(test_keycloak_openid.py): remove unused client_id parameter

Refactored the exchange_token method test to match the new interface

BREAKING CHANGE: Changes the exchange token API
ryshoooo and others added 30 commits December 27, 2025 19:11
* chore: ci fixes

* chore: backports
* feat: add pool_maxsize parameter to connection managers

Introduces the `pool_maxsize` parameter to `KeycloakOpenID` and `KeycloakAdmin` classes, allowing control over the underlying connection pool size in the `ConnectionManager`.

Adds corresponding tests to verify the parameter is correctly passed and stored for both synchronous and asynchronous clients.

* feat: apply pool maxsize for async as well

---------

Co-authored-by: Richard Nemeth <ryshoooo@gmail.com>
* feat: implement authz import request

* chore: linting

* chore: fixing docs

---------

Co-authored-by: Richard Nemeth <ryshoooo@gmail.com>
* feat: support PKCE in authorization flow (RFC 7636)

* test: add tests for PKCE flow

* docs: document PKCE usage in OpenID client

* chore: address linting and formatting issues

* test: full e2e pkce test

* test: skip pkce for 22 and below

---------

Co-authored-by: Richard Nemeth <ryshoooo@gmail.com>
…ath` (#676)

This change was introduced in #627

Co-authored-by: Richard Nemeth <ryshoooo@gmail.com>

BREAKING CHANGE: changes the behavior of get_group_by_path to raise an exception in case the path is not found, which is now the definitive new behavior
BREAKING CHANGE: this change introduces a very strong typing across the library. From now on, we demand that each method returns a single type and converts the results into the specified return type, otherwise it raises a TypeError exception. This should resolve any type checking linter errors within the library as well.
fix: strong and consistent typing across the library
* fix: python version to 3.10 or above, wrong return type

* test: updated tests for the latet keycloak version
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.