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

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

Hello everybody, when using keycloak_admin.py, I (presumably) encountered some limitations. Is there any way to query all clients or users when logged in to the master realm? After the login...

Hi, I'm working with Keycloak v17.0.0, I'm getting this issue with try to read config file, `self.keycloak_openid.load_authorization_config("./admin-cli-authz-config.json")` ``` self.authorization.load_config(authorization_json) File "/Users/jfajardo/Documents/Projects/venvs/env-broker/lib/python3.9/site-packages/keycloak/authorization/__init__.py", line 85, in load_config for policy_name in ast.literal_eval(pol["config"]["applyPolicies"]): KeyError:...

``` from keycloak import KeycloakOpenID keycloak_openid = KeycloakOpenID(server_url="http://:8080/auth/", client_id="", realm_name="", client_secret_key="", verify=True) config_well_know = keycloak_openid.well_know() token = keycloak_openid.token("", "") print(token) # all tokens returned ok userinfo = keycloak_openid.userinfo(token['access_token']) print ("userinfo:",...

I cannot find it, and wonder if a version mismatch might be causing my issue. I am running 15.0.2. My issue is I'm trying to use the library to access...

Hey guys, thanks for the great work! I have been mainly using your library (apart from authentication) to register and update clients. It mostly works perfectly, except that I cannot...

Hi I am trying to use keycloakAdmin. I can create a KeycloakAdmin object. But anything and everything on that object gives me this : in raise_error_from_response raise error(error_message=message, keycloak.exceptions.KeycloakGetError: 403:...

Adding support for typing information Fixes #246

I was happily using this library and everything went smoothly. I had something along the following: ```python def _connect_to_kca(): return KeycloakAdmin( server_url=current_app.config["KC_SERVER_URL"], realm_name=current_app.config["KC_REALM_NAME"], client_id=current_app.config["KC_CLIENT_ID"], client_secret_key=current_app.config["KC_CLIENT_SECRET_KEY"] ) ``` However, since updating...

How to remove a role from an user I only found the function: delete_client_roles_of_user(self, user_id, client_id, roles). It delete client roles from a user. But in my case, "client_id" is...

Hello, FIrst of all, this library is very useful. I am just at the testing phase of this lib but it does all the regular action we would need. So...