Paolo Romolini
05b3a27654
Add "Get a role by name" API
Signed-off-by: Paolo Romolini <paolo.romolini@2ndquadrant.com>
4 years ago
Tamara Nocentini
4624c7b2dc
Manage composite realm roles of the realm role
Signed-off-by: Tamara Nocentini <tamara.nocentini@2ndquadrant.com>
Signed-off-by: Paolo Romolini <paolo.romolini@2ndquadrant.com>
4 years ago
faffeldt
6c62286ade
Adds get_authentication_flow_for_id admin method
4 years ago
faffeldt
8dfdddc5c6
Adds copy_authentication_flow admin method
4 years ago
faffeldt
39aee83585
Adds create_authentication_flow_execution admin method
4 years ago
faffeldt
876640616b
Adds create_authentication_flow_subflow admin method
4 years ago
rpisani5c
70b9efeaa3
Update keycloak_admin.py
Removed the roles param definition on the get_group_client_roles method.
4 years ago
rpisani5c
89225eff12
Update keycloak_admin.py
Swapped the names for get_group_client_roles & delete_group_client_roles respectively. Updated usage, removed the roles object build for the get_ method.
4 years ago
Rafael Weingärtner
28a2f4eb11
Create add mapper to SP Client and delete mapper from scope methods
4 years ago
andres
c17fdaa3d8
Added get_realm_roles_of_user
4 years ago
andres
0c0bec4e66
Added get_realm_roles_of_user
4 years ago
Abhijeet Sharma
f59dc97466
Added delete_idp method
4 years ago
Attila Csoma
454a8e81a4
Add installation provider download
4 years ago
Abhijeet Sharma
2aedfec220
Add Missing Methods
4 years ago
domste
4da5bed75e
added KeycloakDeprecationException
add exception to indicate a deprecation case
4 years ago
domste
59c3851264
add deprecation exception on entitlement call
4 years ago
Marcos Pereira
3a45fa5d4e
Release version 0.22.0
4 years ago
biagio
03522bb590
added description
4 years ago
biagio
3838ed036b
fix comma
4 years ago
giordyb
707637bfd6
Update urls_patterns.py
added url patterns for social login
4 years ago
giordyb
b98e153377
Update keycloak_admin.py
added capabilities to add and get user's social login
4 years ago
Gemini Lasswell
68dea8051a
Handle 'Token is not active' error in refresh_token
If a token is acquired but not used before it times out,
Keycloak will return a 400 response with the message
'Token is not active'. Change refresh_token to handle
this error by getting a new token.
4 years ago
Evgeni Enchev
19af6bceda
improve comment
4 years ago
Evgeni Enchev
0c26781a09
add client-level operations for group roles
4 years ago
Marcos Pereira
c135a4ebb3
Fixed linter.
4 years ago
Christian Müller
1f5e9ad2e4
fixing issue #91
and be backwards compatible with older keycloak versions
5 years ago
Paolo Romolini
50b65c06a2
Add update and delete role by name
Add 'Update a role' and 'Delete a role' by name
and without passing the client parameter
5 years ago
Shady Nawara
4f7069b675
Modified update_client & create_realm_role to use keycloak_admin raw_put/post
Modified update_client & create_realm_role to use the keycloak_admin raw_put/post instead of the connection's raw_put/post directly to allow for token refresh
5 years ago
Romain Philibert
24fc50fae8
fix keys url
5 years ago
Romain Philibert
b1ef1d3dfd
fix indent
5 years ago
Romain Philibert
77d5325c07
fixes + add get_keys
5 years ago
Romain Philibert
e03a1ba9be
feat: add components
5 years ago
Matthew DuCharme
488b4fa8e1
Added routes for deleting and updating realms
5 years ago
Romain Philibert
43a7a3943b
Add support for Client Credentials Grant in KeycloakAdmin
5 years ago
Romain Philibert
505d0e5772
Add generate_client_secrets
5 years ago
Christian Müller
d47131d5ab
make data-parameter optional
Fixing issue https://github.com/marcospereirampj/python-keycloak/issues/65
5 years ago
Paolo Romolini
7dff2e2b75
Add group realm roles delete, get and add
Signed-off-by: Paolo Romolini
Signed-off-by: Tamara Noncentini
5 years ago
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