twsl
51b7f29dd4
Fixed mixed up urls
5 years ago
twsl
d743e43065
Added public key method
5 years ago
rike e
fa9f4520d5
include data in raw_delete request
data was missing in raw_delete request: requests with json bodies like in "delete_client_roles_of_user" won't work
5 years ago
Josh Bode
8436dbc19d
Set session `auth` to trivial function
Sets the session to not add "basic" auth if entry for keycloak host
exists in users `.netrc` (`requests` causes `Authorization: Basic ...`
header to be added if an entry exists in `.netrc` by default)
see: https://requests.readthedocs.io/en/master/api/#requests.Session.auth
5 years ago
e6646
69d29968ee
Updated documentation and links
5 years ago
Marcos Pereira
df51e0e0c3
Fixed merge with external branch.
5 years ago
Guillaume Troupel
bf30c0a409
adds user_realm_name to KeycloakAdmin
fixes #41
Adds a optional new parameter _user_realm_name_ that takes _realm_name_ value if not defined.
The admin token is retrieved from the given _user_realm_name_ but all methods are run under _realm_name_. This allows to have an admin user in another realm (ie: master).
5 years ago
Nicolas Marcq
e16e054bf1
[Feature] add custom headers. Closes #38
5 years ago
Guillaume Troupel
1e806554b5
Also retry on POST
5 years ago
Guillaume Troupel
045dfb3576
requests' session retry once to refresh TCP connection closed by Keycloak server
fixes #36
5 years ago
Thomas Anderson
4404f06aa6
Add function to KeycloakAdmin to add a role to a realm
5 years ago
Marcos Pereira
8fd315d11a
Changed license in init files.
5 years ago
Guillaume Troupel
9080c79a4e
return user id on user creation
5 years ago
Andreas Bleuler
1c03f1a994
Add update method for clients
5 years ago
Andreas Bleuler
f9eb637456
Fix copy-pasted docstring
6 years ago
Guillaume Troupel
79316080a6
Update keycloak_admin.py
fixes auto_refresh_token property not using setter on KeyclaokAdmin initialization
5 years ago
Guillaume Troupel
d72340d677
Update keycloak_admin.py
automatically refresh stale token
5 years ago
Kurt Kremitzki
3f23e3a0cf
Fix missing import for assign_realm_roles method
5 years ago
Marcos Pereira
ef5a316820
Fixed create group.
5 years ago
Andrea Volpi
d2b15a734e
Implement assign_realm_roles method
Increment package version
Update docstring
Remove client_id from path params
Fix raw_post with correct url
5 years ago
Akos Hencz
cad147723d
Add update_group
5 years ago
Akos Hencz
147646e56f
Paginate get_group_members
5 years ago
Akos Hencz
ffdb7509c2
Paginate get_groups
5 years ago
Akos Hencz
2225a1283d
Paginate get_users
5 years ago
Akos Hencz
c767c21177
Add pagination wrapper
5 years ago
Akos Hencz
395d30d9d2
Fix get_subgroups iteration
5 years ago
Kevin Fox
e68bbf2284
Add the option to specify extra key/values to the token endpoint
6 years ago
mattboret
a4a990b7f1
Add support to create a new Realm
6 years ago
Rafael Weingärtner
30e489affd
Create method to list all realms from a Keycloak deployment
6 years ago
Rafael Weingärtner
8d6130ea7b
Create 'get_client_secrets' method
6 years ago
Rafael Weingärtner
4753b2e976
Create methods to retrieve all client scopes, a single client scope, and to add a mapper to a client scope
6 years ago
Anthony Alves
1c4f46d0c6
add ability to log into service account in KeycloakAdmin
6 years ago
Marcos Pereira
638337219c
Fixed the create_client_role and delete_client_role.
6 years ago
Sebastian Wehrmann
b425acbc04
Stick with existing code conventions
6 years ago
Sebastian Wehrmann
cddc95e5af
Add implementation for auth_url
6 years ago
Alain ROMEYER
74da5c2ee6
support totp
6 years ago
Çağrı Ulaş
b5c36b56bd
Make requests' Session persistent in ConnectionManager
Signed-off-by: Çağrı Ulaş <cagriulas@gmail.com>
6 years ago
Ewan Jones
5e16f918b0
converting 'import *' into individual imports
6 years ago
Martin Devlin
f635420b67
Fix tab
6 years ago
Martin Devlin
6204bf92b0
Fix a bug in the subgroup searching
6 years ago
Ewan Jones
4763a5f4ab
pep8 formatting
6 years ago
Ewan Jones
45edb0b12c
Admin - adding 'Import Realm' to pass a RealmRepresentation and create a new Realm
6 years ago
Sebastian Marquardt
6c858381cd
[11] Fixed function get_user_id to return the correct value
6 years ago
Shon T. Urbas
e8e4f52a16
A decoder error is a ValueError allows us to catch all decode errors from requests without force install simplejson
7 years ago
Akos Hencz
1f29befbdb
Add query params to get_group_members
7 years ago
Martin Devlin
105218dbee
Add authentication flow actions
6 years ago
Marcos Pereira
9da037c55d
Fixed feature get user id.
6 years ago
Marcos Pereira
a33039a4aa
Fixed README and setup.py. Updated docs.
6 years ago
Martin Devlin
1eb6c18eb6
Add get_idps
6 years ago
Remco Kranenburg
21799f9a99
Add get_user_groups function
7 years ago