Richard Nemeth
fa9e56ef42
feat: added authenticator providers getters
2 years ago
Richard Nemeth
6cce29f26b
fix: full tox fix ready
2 years ago
Richard Nemeth
b911d94db9
feat: fixed admin client to pass the tests
2 years ago
Richard Nemeth
8d19ea8180
fix: raise correct errors
2 years ago
Richard Nemeth
cc82e6a874
feat: initial setup of CICD and linting
2 years ago
Bruno Bonfils
25b9097fd1
Add 202 expected return code when update flow #288
3 years ago
Bruno Bonfils
64d74be6af
Add support of TOTP to KeycloakAdmin
3 years ago
maxnoto
17b507427f
Bugfix get_group_members
3 years ago
Salem Wafi
b57d884718
Fix the issue of the token getting expire for some functions in the keycloak admin
3 years ago
carlos
7cef48f725
Fix get_groups() so that it returns groups and not users
3 years ago
Marcos Pereira Jr
28c82d1051
Removed unsed import.
3 years ago
Marcos Pereira Jr
4ba3007e41
Reverted connection deepcopy on KeycloakAdmin
3 years ago
Konstantin Köhring
738e9ecc70
Add methods to get available and composite realm roles of a user
3 years ago
Salem Wafi
a29f282c69
#262 Added three functions to get all the client's authorization scopes, permissions, policies using Keycloak Admin
3 years ago
modularTaco
9abbf559ac
add client session stats
Signed-off-by: modularTaco <37046961+modularTaco@users.noreply.github.com>
3 years ago
ggallard
9777a85fa0
fixed typo in URL pattern
3 years ago
ggallard
95c4a7ee2d
added delete_authentication_flow(flow_id)
3 years ago
ggallard
76b6798429
added get/delete authentication_flow_execution(execution_id)
3 years ago
ggallard
c538d8fb32
added get/add/delete default (default/optional) client scopes
3 years ago
robsonyeg
a6ad87d62c
fix invalid credential error and refresh_code not exist error
3 years ago
Ryan Gard
7ee625d063
Enable Keycloak Admin for Non-master Realms
Allow the 'KeycloakAdmin' class to instantiate against non-master realms using
an Authorization header for a non-admin user that is granted permissions to
inspect or manage Keycloak admin resources.
Example:
kca = KeycloakAdmin(
'https://auth.keycloak.local/auth/ ',
realm_name='my-realm',
client_id='admin',
custom_headers=auth_headers
)
3 years ago
lcgkm
80bb7a56b5
Fix invalid permission type
A permission associates the object being protected and the policies that must be evaluated to decide whether access should be granted.
Permissions can be created to protect two main types of objects:
1. Resources
2. Scopes
3 years ago
lcgkm
10c212cce5
Refine comments
3 years ago
lcgkm
656de1c466
Add more comments
3 years ago
lcgkm
3b93754d27
Add new AuthZ API support
NOTE: These are private API, will be changed later.
3 years ago
Tobias Henkel
a37bf45c77
Add delete_user_social_login
This makes it possible to delete federated identities without having
to use raw requests.
3 years ago
Nikolay Amiantov
d0894d4352
Don't force realm name when using secret key
Using other realms can be useful, for example, to manage realm users with restricted rights.
3 years ago
Ankur Saxena
69d60d430a
Add remove and update methods for client protocol mappers
3 years ago
Nicklas Sedlock
5b202e71cb
fix: handle refresh_token error "Session not active"
3 years ago
Md Minhazul Haque
50354e6108
Add feature to list and delete user credentials
3 years ago
Julien Bouquillon
bd8af2924e
feat: add KeycloakAdmin.set_events
3 years ago
Jacky Boen
a9b3924854
Fix KeycloakAdmin using wrong realm when authenticating with a service account
Signed-off-by: Jacky Boen <jacky@veand.co>
3 years ago
Michael Kao
227b698b3f
Stopping pagination requests if response count is lower than page size.
3 years ago
Manjeetsinh Alonja
71a92f8b49
Fix feature function documents
3 years ago
Manjeetsinh Alonja
44fe7b714a
Added realm partial export feature
3 years ago
bostonkenne
d7d661a38c
fix json response
3 years ago
bostonkenne
31b4efd7ab
add remove user realm role
3 years ago
Joerg Schaarschmidt
93b9991dc8
Remove unused client_id from delete_realm_roles_of users
3 years ago
Joerg Schaarschmidt
4b6b076f55
add delete_realm_roles_of_user function
3 years ago
phala
56fdb467be
Add user logout
3 years ago
phala
420779e3d2
Remove unused client_id from assign_realm_roles
3 years ago
arata-honda
c91df2b5c8
Fix get_user_id to non case-sensitive
4 years ago
obdeijn
92cef30578
Fix get_group_realm_roles, set correct url to get realm roles.
Remove the no longer used, wrong url.
4 years ago
andreas
988700bc81
Replaced deprecated method, improved description and added packages to requirements.
4 years ago
Lilis Iskandar
9c8835c255
Added get_events method for KeycloakAdmin
Signed-off-by: Lilis Iskandar <lilis@veand.co>
4 years ago
Oliver
04ef9a0e64
Update keycloak_admin.py
Fixed typo in params_path (leads to error)
4 years ago
Clive Jevons
02d82f70bc
update mapper in client scope
4 years ago
Hans Erik Heggem
0d4815ddb2
added composite clients role feature
4 years ago
Lukas Martini
6ed65ea4e5
Add exist_ok attribute to KeycloakAdmin.create_user
This attribute allows configuration of the behaviour of create_user when a user
with the passed username already exists. If set to False, an exception will be
raised (passed through) from the API. If set to True (default), the existing
user ID will silently be returned.
4 years ago
hamedSh
021c549e30
Get sessions associated with the client.
4 years ago