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
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
905e0caa03
test: improved the tests on urls, back to 100%
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
5e6c775735
style: fixed docstrings everywhere
2 years ago
Richard Nemeth
bead0aff2b
fix: raise correct exceptions
2 years ago
Erik Cederstrand
2f212c1350
feat: Allow fetching existing policies before calling create_client_authz_client_policy()
2 years ago
Erik Cederstrand
39706bcc68
ci: add test case for token exchange setup
2 years ago
Bruno Bonfils
bcdf1b825b
feat: Add update_idp
2 years ago
Bruno Bonfils
f3de47e1b3
feat: Add update_mapper_in_idp
2 years ago
Bruno Bonfils
9a13f67fea
feat: Add get_idp_mappers, fix #329
3 years ago
Richard Nemeth
02625a8af4
test: completed admin unit tests
3 years ago
Richard Nemeth
73ff9785a3
test: added components tests
3 years ago
Richard Nemeth
dc1c4be115
test: added missing tests for clients
3 years ago
Richard Nemeth
2e5d751985
test: added tests for client scopes
3 years ago
Richard Nemeth
d9c3326fd1
fix: allow query parameters for users count
3 years ago
Richard Nemeth
b0bc470e33
test: cover the cases with unit tests
3 years ago
Richard Nemeth
7ae0442370
test: test authenticator and configurations
3 years ago