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
Jonhatan Fajardo
138baf0a3a
fix: Check if applyPolicies exists in the config ( #367 )
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
Nuwan Goonasekera
fb84c3b67b
feat: add Keycloak UMA client ( #403 )
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
Richard Nemeth
aa207286f0
feat: added default realm roles handlers
2 years ago
hadeer_e
eeb2fbb628
feat(api): add tests for create_authz_scopes
2 years ago
iglimanaj
4fe06af677
refactor: code formatting after tox checks
2 years ago
Igli Manaj
e9b173024b
refactor: remove print statements
2 years ago
Richard Nemeth
fa955b759f
fix: use version from the package
2 years ago
Richard Nemeth
451a22a103
fix: default scope to openid
2 years ago
Igli Manaj
477e0c5a3c
feat: option for enabling users
2 years ago
Igli Manaj
6b30631378
feat: helping functions for disabling users
2 years ago
Fredrik Lindner
fc6a70f459
feat: attack detection API implementation
2 years ago
Richard Nemeth
40ac02ae3b
docs: finished off docstrings in the source
2 years ago
Merle Nerger
739e9abfbe
feat: added missing functionality to include attributes when returning realm roles according to specifications
2 years ago
Merle Nerger
acd457ef39
docs: fixed docstrings stating incorrect return types for get_client_role(s) and get_realm_role(s)
2 years ago
Antonio Lucas Neres
7c486ccb4f
feat: add client scope-mappings client roles operations
2 years ago
Subramaniam Ramasubramanian
d14fbd6b5d
feat: Add token_type/scope to token exchange api
2 years ago
Antonio Lucas Neres
0fb6c2058d
feat: add client scope-mappings realm roles operations
2 years ago
Richard Nemeth
c98189ca69
docs: more docstring linting
2 years ago
Richard Nemeth
2bf150f7c1
style: start of more checks
2 years ago
Richard Nemeth
e6c4b28108
fix: removed whitespace from urls
2 years ago
Luca Paganin
067673f81b
fix: now get_required_action_by_alias now returns None if action does not exist
2 years ago
Luca Paganin
2d217eca1c
fix: remove duplicate function
2 years ago
Luca Paganin
7eb56d5388
fix: applied tox -e docs
2 years ago
Luca Paganin
96085b7b1d
fix: applied flake linting checks
2 years ago
Luca Paganin
fb942c11d8
feat: add unit tests
2 years ago
Luca Paganin
9bff615fec
feat: add docstrings
2 years ago
Luca Paganin
5bc5d4f321
feat: add functions covering some missing REST API calls
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
49ddcdc3a6
fix: turn get_name into a method, use setters in connection manager
2 years ago
Richard Nemeth
3052f80fd6
refactor: no need to try if the type check is performed
2 years ago
Richard Nemeth
7031123c1f
test: finished off openid tests
2 years ago
Zerek
962133ec01
docs: update auth_url method's docstring and readme file
2 years ago
Richard Nemeth
25f1f68705
style: fix docstring for docs pages
2 years ago
Richard Nemeth
18ce10c73b
test: added authz tests
2 years ago
Zerek
e4c0ff2c7d
fix: Support the auth_url method called with scope & state params now
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
Fredrik Lindner
81b3cc80db
docs: add timeout to docstring
2 years ago
Richard Nemeth
bead0aff2b
fix: raise correct exceptions
2 years ago
Richard Nemeth
6f839cbc03
docs: added docstrings to exceptions
2 years ago
Richard Nemeth
590c7bb582
test: test of init and well_known of oid
2 years ago
Chuma Umenze
e7152e5c74
build: use poetry for package management
2 years ago