Armin Shoughi
09cf503415
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.
2 years ago
ryshoooo
47b48c64d2
docs: changelog update
2 years ago
Raspreet Singh
5036bfcbee
feat: Add get and delete methods for client authz resources ( #435 )
* 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
2 years ago
ryshoooo
f26a9edbf8
docs: changelog update
2 years ago
Karim EL HAJOUI
35bdbe9575
fix(pyproject.toml): loose requests pgk and remove urllib3 as dependency ( #434 )
* fix(pyproject.toml): loose requests pgk and remove urllib3 as dependency
* build: update poetry.lock
* revert: everything
* revert: revert-ception
2 years ago
Richard Nemeth
0249525d33
test: fixed tests for new keycloak ( #438 )
* test: fixed tests for new keycloak
* test: make tests compatible with previous keycloak versions
2 years ago
ryshoooo
e483bf4323
docs: changelog update
2 years ago
Petr Hála
3edb200656
fix: Check if _s exists in ConnectionManager before deleting it ( #429 )
2 years ago
ryshoooo
89348f51b0
docs: changelog update
2 years ago
Petr Hála
1bdda5f2ae
fix: deprecation warnings in keycloak_admin.py ( #425 )
* fix: deprecation warnings in keycloak_admin.py
* fix: Set auto_refresh_token only when needed
2 years ago
ryshoooo
2fadff9697
docs: changelog update
2 years ago
Kun Yang
e7854d0c65
fix: improved type-hints ( #427 )
2 years ago
ryshoooo
127c8120d1
docs: changelog update
2 years ago
mklassen
9317f19426
feat: Add UMA policy management and permission tickets ( #426 )
2 years ago
ryshoooo
2ac4f55569
docs: changelog update
2 years ago
mklassen
8f4b49a4d1
feat: add initial access token support and policy delete method
* feat: Add policy delete method
* feat: Added initial access token support
2 years ago
ryshoooo
9af82647ee
docs: changelog update
2 years ago
Nuwan Goonasekera
7bbf4e15b7
fix: Refactor auto refresh ( #415 )
* refactor: Factor our OpenIdConnectionManager class and deprecate old methods
* refactor: Refactor keycloak uma client to use openid connection manager
* fix: Perform token renewal at 90% of lifetime
* refactor: Add optional openid connection constructor param to keycloak admin
* refactor: Remove auto_refresh_token in favour of automatic refresh on expiry
* refactor: move KeycloakOpenIDConnectionManager to a separate file
* docs: uma additions and fixes
* refactor: rename token_renewal_fraction->token_lifetime_fraction
* refactor: shorten KeycloakOpenIDConnectionManager->KeycloakOpenIDConnection
* docs: incorporate review comments
2 years ago
Tobias Genannt
1056c77a21
test: Test with multiple Keycloak versions ( #418 )
This extends the test matrix to use multiple Keycloak versions.
2 years ago
Salem Wafi
0664139df8
docs: added get_client_authz_settings to README.md keycloak_admin. Also, get_roles() function doesn't exist, instead there is keycloak_admin.get_realm_roles() which already documented. ( #276 )
2 years ago
ryshoooo
a87d0796a0
docs: changelog update
2 years ago
Jonhatan Fajardo
138baf0a3a
fix: Check if applyPolicies exists in the config ( #367 )
2 years ago
dependabot[bot]
9d82465008
chore(deps): bump markdown-it-py from 2.1.0 to 2.2.0 ( #412 )
Bumps [markdown-it-py](https://github.com/executablebooks/markdown-it-py ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/executablebooks/markdown-it-py/releases )
- [Changelog](https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md )
- [Commits](https://github.com/executablebooks/markdown-it-py/compare/v2.1.0...v2.2.0 )
---
updated-dependencies:
- dependency-name: markdown-it-py
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
ryshoooo
bfdcbcdd81
docs: changelog update
2 years ago
PizZaKatZe
2d9308f078
feat: implement cache clearing API ( #414 )
Co-authored-by: Sebastian Neuser <pzkz@infra.run>
2 years ago
ryshoooo
81bc882613
docs: changelog update
2 years ago
Tobias Genannt
04af3af170
fix: get_group_by_path uses Keycloak API to load ( #417 )
Keycloak provides an API endpoint to directly load a group by its path.
This commit changes get_group_by_path to not filter the groups locally
and instead uses the API endpoint.
2 years ago
ryshoooo
f570d2ef94
docs: changelog update
2 years ago
Richard Nemeth
4f1dea8d2c
fix: tests and upgraded deps ( #419 )
* fix: tests and upgraded deps
* test: use absolute path
2 years ago
Richard Nemeth
d7bcca10db
ci: dont skip
2 years ago
Richard Nemeth
9764ec6bd3
chore: upgrade wheel
2 years ago
Richard Nemeth
33f768fd74
chore: upgrade dependencies
2 years ago
ryshoooo
c86400d686
docs: changelog update
2 years ago
Nuwan Goonasekera
fb84c3b67b
feat: add Keycloak UMA client ( #403 )
2 years ago
ryshoooo
75f4571fa9
docs: changelog update
2 years ago
Will Earp
12392fe985
fix: do not include CODEOWNERS ( #407 )
2 years ago
ryshoooo
b693d6e396
docs: changelog update
2 years ago
Richard Nemeth
9a3774e3b6
Merge pull request #390 from M4d40/client_client_scopes
feat: Add Client Scopes of Client
2 years ago
ryshoooo
811bcfef81
docs: changelog update
2 years ago
Richard Nemeth
9f16441fa5
Merge pull request #406 from JeronimoMendes/master
feat: init KeycloakAdmin with token
2 years ago
Jerónimo Mendes
ea624540c6
test: test admin init with token
2 years ago
Philippe Moll
f39fc53858
feat: Add Client Scopes of Client
2 years ago
Jerónimo Mendes
23ecba1e6f
style: fix formatting
2 years ago
Jerónimo Mendes
9c51d02a63
feat: update header if token is given
2 years ago
Jerónimo Mendes
fb0445c0c7
feat: init KeycloakAdmin with token
2 years ago
ryshoooo
503df44452
docs: changelog update
2 years ago
Richard Nemeth
b3d1a6e088
Merge pull request #401 from marcospereirampj/feat/default_realm_roles
feat: added default realm roles handlers
2 years ago
Richard Nemeth
aa207286f0
feat: added default realm roles handlers
2 years ago
ryshoooo
f53f59cc0b
docs: changelog update
2 years ago
Richard Nemeth
3580718b38
Merge pull request #399 from Hadeer-Elsaeed/feat/create_client_authz_scopes
feat(api): add function create_authz_scopes
2 years ago