forked from marcospereirampj/python-keycloak
-
Notifications
You must be signed in to change notification settings - Fork 0
update from source #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
danielnickels
wants to merge
744
commits into
danielnickels:master
Choose a base branch
from
marcospereirampj:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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>
tiny typo
* 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>
* 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
* 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>
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.