Raspreet Singh
a7407cd9c8
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
Richard Nemeth
ffe3204fe7
test: fixed tests for new keycloak ( #438 )
* test: fixed tests for new keycloak
* test: make tests compatible with previous keycloak versions
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
mklassen
9317f19426
feat: Add UMA policy management and permission tickets ( #426 )
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
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
PizZaKatZe
2d9308f078
feat: implement cache clearing API ( #414 )
Co-authored-by: Sebastian Neuser <pzkz@infra.run>
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
Richard Nemeth
4f1dea8d2c
fix: tests and upgraded deps ( #419 )
* fix: tests and upgraded deps
* test: use absolute path
2 years ago
Nuwan Goonasekera
fb84c3b67b
feat: add Keycloak UMA client ( #403 )
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
Richard Nemeth
aa207286f0
feat: added default realm roles handlers
2 years ago
hadeer_e
1d864703a3
fix: fix testing create_client_authz_scopes parameters
2 years ago
hadeer_e
15a325382f
fix: fix linting
2 years ago
hadeer_e
936ed54977
fix: add testcase for invalid client id
2 years ago
hadeer_e
1da9de39b6
fix: create authz clients test case
2 years ago
hadeer_e
5855ec867e
fix: create authz clients test case
2 years ago
hadeer_e
eeb2fbb628
feat(api): add tests for create_authz_scopes
2 years ago
Richard Nemeth
f1809970bc
test: fix the tests for latest keycloak
2 years ago
Fredrik Lindner
fc6a70f459
feat: attack detection API implementation
2 years ago
Richard Nemeth
0b79b5771f
test: updated docstrings to pass checks
2 years ago
Merle Nerger
739e9abfbe
feat: added missing functionality to include attributes when returning realm roles according to specifications
2 years ago
Antonio Lucas Neres
7c486ccb4f
feat: add client scope-mappings client roles operations
2 years ago
Antonio Lucas Neres
0fb6c2058d
feat: add client scope-mappings realm roles operations
2 years ago
Richard Nemeth
f61b42a6ec
test: fixed tests, updated dependencies
2 years ago
Richard Nemeth
2bf150f7c1
style: start of more checks
2 years ago
Richard Nemeth
37ef5e9f96
refactor: applied linting
2 years ago
Richard Nemeth
905e0caa03
test: improved the tests on urls, back to 100%
2 years ago
Luca Paganin
83d6cf36f6
fix: linting
2 years ago
Luca Paganin
4b95d509e8
fix: moved imports at the top of the file
2 years ago
Luca Paganin
2d217eca1c
fix: remove duplicate function
2 years ago
Luca Paganin
96085b7b1d
fix: applied flake linting checks
2 years ago
Luca Paganin
7e50d4313c
fix: applied tox linting check
2 years ago
Luca Paganin
fb942c11d8
feat: add unit tests
2 years ago
Richard Nemeth
1c6524e4db
fix: check client existence based on clientId
Remove the necessity for supplying client name for create a new client
request, also don't check existing clients based on client name as those
can be duplicate
BREAKING CHANGE: Renamed parameter client_name to client_id in get_client_id method
Closes #351
2 years ago
Richard Nemeth
cab018fa5a
test: added all unit tests
2 years ago
Richard Nemeth
940f022d92
test: 100% coverage on UMA permissions
2 years ago
Richard Nemeth
81cc71c000
test: fix the tests, make them compatible with older python versions
2 years ago
Richard Nemeth
7031123c1f
test: finished off openid tests
2 years ago
Richard Nemeth
a07a5eb60f
style: removed manifest, applied pre-commit hooks
2 years ago
Richard Nemeth
18ce10c73b
test: added authz tests
2 years ago
Richard Nemeth
3a697caaef
test: added load authorization config test
2 years ago
Richard Nemeth
5e6c775735
style: fixed docstrings everywhere
2 years ago
Richard Nemeth
b10c161ed8
test: added more openid tests
2 years ago
Richard Nemeth
65a4af1550
test: added auth_url and token tests, more structure to fixtures
2 years ago
Richard Nemeth
17bfad5ec0
test: added a license test
2 years ago
Richard Nemeth
bead0aff2b
fix: raise correct exceptions
2 years ago
Richard Nemeth
d79939535f
style: applied isort
2 years ago
Richard Nemeth
590c7bb582
test: test of init and well_known of oid
2 years ago