python-keycloak icon indicating copy to clipboard operation
python-keycloak copied to clipboard

Results 191 python-keycloak issues
Sort by recently updated
recently updated
newest added

An error occurs in the get_default_realm_role_id function in lines 2241 to 2253 of the keycloak_admin.py file. The error occurs at line 2251 if realm_role["name"] == f"default-roles-{self.connection.realm_name}" if realm_name contains an...

you are using `unittest.mock` from the standard library the old `mock` can be removed

added create_client_authz_group_based_policy, create_client_authz_scope_based_permission and their corresponding urls

- Reason - Large number of realms and realm config in kecycloak server - resulting in large headers in `ConnectionManager` - `requests` returning with `431` for all GET and POST...

Adding method **get_all_roles_of_user** to KeycloakAdmin. Adding **URL_ADMIN_USER_ALL_ROLES** to url_patterns This PR adds the functionality of retrieving roles from realm and client levels for a user. Within my team, we need...

Hello, We are using python-keycloak lib to manage our keycloak instance, thanks for your work ! On some of our realms, we have more than 4000 clients, and getting a...

Fixes [#510](https://github.com/marcospereirampj/python-keycloak/issues/510) This Pull request should correct performances problems described in the issue The linting is ok, and the tests have ben done with keycloak 22.0 version, since they are...

If I have separate realms for admin and user management, it would be very useful to specify the admin realm (e.g. master) in user_realm_name and the realm that holds user...

All URLs pointing to Keycloak Rest API documentation are broken. [Here](https://github.com/marcospereirampj/python-keycloak/blob/5957607ad07536b94d878c3ce5d403c212b35220/src/keycloak/keycloak_admin.py#L523) is one of many examples: https://www.keycloak.org/docs-api/18.0/rest-api/index.html#_realmrepresentation returns a 404: According to [this page](https://www.keycloak.org/documentation-archive.html) the oldest available API version that...

Consider a change to user information ` new_user_id = keycloak_admin.get_user_id(params["email"]) payload = { "firstName": params["first_name"], "lastName": params["last_name"], "enabled": True, } keycloak_admin.update_user(new_user_id, payload) ` After this change a call to introspect...