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-Elsaeed
cb77bb7433
feat(api): add scope id for get client_authz_scope_permission
2 years ago
Hadeer-Elsaeed
c9478d9f1a
feat(api): fix testing for create client_authz_scope_permission
2 years ago
Hadeer-Elsaeed
f901fe3312
feat(api): fix testing
2 years ago
Hadeer-Elsaeed
b314c51ee5
feat(api): fix testing
2 years ago
Hadeer-Elsaeed
13facfdf2a
feat(api): apply formating
2 years ago
Hadeer-Elsaeed
483c491531
feat(api): add testcases for create permission function
2 years ago
Hadeer-Elsaeed
166fb8f946
feat(api): add testcases for create permission function
2 years ago
Hadeer-Elsaeed
2d39fac7ab
fix: linting
2 years ago
Hadeer-Elsaeed
99089c190b
feat(api): add testcases for create permission function
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